This commit is contained in:
14
.drone.yml
14
.drone.yml
@ -12,16 +12,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- bundle config set --local path /cache/.bundle
|
- bundle config set --local path /cache/.bundle
|
||||||
- bundle install
|
- bundle install
|
||||||
- bundle exec jekyll build
|
- bundle exec jekyll build --destination /var/www/ --incremental
|
||||||
|
|
||||||
- name: deploy
|
|
||||||
image: busybox
|
|
||||||
volumes:
|
|
||||||
- name: www
|
|
||||||
path: /tmp/www
|
|
||||||
commands:
|
|
||||||
- rm -rf /tmp/www/_site
|
|
||||||
- cp -r _site /tmp/www/_site
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
@ -34,6 +25,3 @@ volumes:
|
|||||||
- name: bundle-cache
|
- name: bundle-cache
|
||||||
host:
|
host:
|
||||||
path: /var/lib/drone/temp/ruby-bundle-cache-sergio.am
|
path: /var/lib/drone/temp/ruby-bundle-cache-sergio.am
|
||||||
- name: www
|
|
||||||
host:
|
|
||||||
path: /var/www
|
|
||||||
|
Reference in New Issue
Block a user