Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaussow <mail@geeklabor.de>2021-12-30 00:50:13 +0300
committerGitHub <noreply@github.com>2021-12-30 00:50:13 +0300
commitd5f6cfb13e7ea971670675eee0a9e493b185558f (patch)
treeb169496a9cd92a3c15a19adcab7060a116ec2bf9 /.drone.yml
parentea4fab356a7e986e64730e7a0b0f00c87b2fe4d8 (diff)
refator: replace gulp by webpack and npm scripts (#129)
BREAKING CHANGE: We have replaced `gulp` with `webpack` and `npm scripts` to build this theme. If you build it on your own or use build commands during the deployment, you may have to adjust your setup. BREAKING CHANGE: The `GeekblogIcons` font is using the icon name as Unicode now. As a consequence, you have to replace all references to Icons from this font if you have customized the theme.
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml
index dba22cb..9279a04 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -7,11 +7,20 @@ platform:
arch: amd64
steps:
+ - name: eslint
+ image: node:lts
+ commands:
+ - npm install > /dev/null
+ - npm run lint
+ environment:
+ FORCE_COLOR: true
+ NPM_CONFIG_LOGLEVEL: error
+
- name: assets
image: node:lts
commands:
- npm install > /dev/null
- - npx gulp default
+ - npm run build
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
@@ -94,7 +103,7 @@ steps:
image: node:lts
commands:
- npm install > /dev/null
- - npx gulp default
+ - npm run build
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
@@ -172,7 +181,7 @@ steps:
image: node:lts
commands:
- npm install > /dev/null
- - npx gulp svg-sprite-list
+ - npm run svg-sprite-list
- mkdir -p exampleSite/themes/hugo-geekblog/
- curl -sSL https://github.com/thegeeklab/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C exampleSite/themes/hugo-geekblog/ --strip-components=1
when:
@@ -184,8 +193,8 @@ steps:
image: node:lts
commands:
- npm install > /dev/null
- - npx gulp default
- - npx gulp svg-sprite-list
+ - npm run build
+ - npm run svg-sprite-list
- mkdir exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog
environment:
FORCE_COLOR: true
@@ -277,6 +286,6 @@ depends_on:
---
kind: signature
-hmac: ff0a79853d809a654675edb6c59e2789ea6f1bad1efaade1f7d72cb9c4a294ce
+hmac: 74a7e960eb8af67b40992bb60bb75db699d44e81ac28189f01e1c27e1ad74988
...