parent
1b45269e49
commit
8c810da612
28
.drone.yml
28
.drone.yml
@ -1,12 +1,22 @@
|
|||||||
workspace:
|
|
||||||
base: /srv/jekyll
|
|
||||||
path: /
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
|
restore-cache:
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
restore: true
|
||||||
|
mount:
|
||||||
|
- /drone/.bundle
|
||||||
|
volumes:
|
||||||
|
- /tmp/bundle-cache:/cache
|
||||||
build:
|
build:
|
||||||
image: jekyll/minimal:3.8.3
|
image: ruby:2.5.1-alpine3.7
|
||||||
|
environment:
|
||||||
|
- BUNDLE_PATH=/drone/.bundle
|
||||||
commands:
|
commands:
|
||||||
- whoami
|
- bundle install
|
||||||
- cd ianonavy
|
- bundle exec jekyll build
|
||||||
- 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