Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
+5
-2
@@ -5,10 +5,11 @@ pipeline:
|
|||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- /drone/.bundle
|
- /drone/.bundle
|
||||||
|
- node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- jekyll-blog-cache:/cache
|
- jekyll-blog-cache:/cache
|
||||||
build:
|
build:
|
||||||
image: ruby
|
image: ruby-node
|
||||||
environment:
|
environment:
|
||||||
- BUNDLE_PATH=/drone/.bundle
|
- BUNDLE_PATH=/drone/.bundle
|
||||||
commands:
|
commands:
|
||||||
@@ -16,13 +17,15 @@ pipeline:
|
|||||||
- export LC_ALL="C.UTF-8"
|
- export LC_ALL="C.UTF-8"
|
||||||
- ruby -e 'puts STDIN.external_encoding' # figure out the encoding used
|
- ruby -e 'puts STDIN.external_encoding' # figure out the encoding used
|
||||||
- bundle install
|
- bundle install
|
||||||
- JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer _site/ --disable-external
|
- npm install
|
||||||
|
- gulp build
|
||||||
rebuild-cache:
|
rebuild-cache:
|
||||||
privileged: true
|
privileged: true
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- /drone/.bundle
|
- /drone/.bundle
|
||||||
|
- node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- jekyll-blog-cache:/cache
|
- jekyll-blog-cache:/cache
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
Reference in New Issue
Block a user