parent
1b45269e49
commit
da5f9ee15b
28
.drone.yml
28
.drone.yml
@ -1,12 +1,22 @@
|
||||
workspace:
|
||||
base: /srv/jekyll
|
||||
path: /
|
||||
|
||||
pipeline:
|
||||
restore-cache:
|
||||
image: drillster/drone-volume-cache
|
||||
restore: true
|
||||
mount:
|
||||
- /drone/.bundle
|
||||
volumes:
|
||||
- /tmp/bundle-cache:/cache
|
||||
build:
|
||||
image: jekyll/minimal:3.8.3
|
||||
image: ruby:2.5.1-alpine3.7
|
||||
environment:
|
||||
- BUNDLE_PATH=/drone/.bundle
|
||||
commands:
|
||||
- whoami
|
||||
- cd ianonavy
|
||||
- jekyll build
|
||||
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
rebuild-cache:
|
||||
image: drillster/drone-volume-cache
|
||||
rebuild: true
|
||||
mount:
|
||||
- /drone/.bundle
|
||||
volumes:
|
||||
- /tmp/bundle-cache:/cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user