Set up CI (and CD?) #1

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

View File

@ -1,22 +1,5 @@
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- /drone/.bundle
volumes:
- /tmp/bundle-cache:/cache
build:
image: ruby:2.5.1-alpine3.7
environment:
- BUNDLE_PATH=/drone/.bundle
image: jekyll/jekyll:latest
commands:
- bundle install
- bundle exec jekyll build
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- /drone/.bundle
volumes:
- /tmp/bundle-cache:/cache
- jekyll build