direct deploy
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4eff6d90da
commit
cdfb6edc04
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
|
|
||||||
|
|
Loading…
Reference in New Issue