deploy
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
8fb8c5089b
commit
dd0a64dc41
11
.drone.yml
11
.drone.yml
|
@ -16,6 +16,14 @@ steps:
|
||||||
- ls -la /cache/.bundle
|
- ls -la /cache/.bundle
|
||||||
- bundle exec jekyll build
|
- bundle exec jekyll build
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: busybox
|
||||||
|
volumes:
|
||||||
|
- name: www
|
||||||
|
path: /tmp/www
|
||||||
|
commands:
|
||||||
|
- rsync -av --delete _site/* /tmp/www/
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
@ -27,3 +35,6 @@ 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