Set up CI (and CD?) #1

Closed
potato wants to merge 12 commits from in-fix-drone into master
Showing only changes of commit 8c810da612 - Show all commits

View File

@ -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