deploy
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sergio Álvarez 2022-05-16 11:44:36 +02:00
parent 8fb8c5089b
commit dd0a64dc41
No known key found for this signature in database
GPG Key ID: BD711A37FE7DD77E
1 changed files with 11 additions and 0 deletions

View File

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