direct deploy
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2023-08-14 14:57:37 +02:00
parent 4eff6d90da
commit cdfb6edc04
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
1 changed files with 1 additions and 13 deletions

View File

@ -12,16 +12,7 @@ steps:
commands:
- bundle config set --local path /cache/.bundle
- bundle install
- bundle exec jekyll build
- name: deploy
image: busybox
volumes:
- name: www
path: /tmp/www
commands:
- rm -rf /tmp/www/_site
- cp -r _site /tmp/www/_site
- bundle exec jekyll build --destination /var/www/ --incremental
when:
branch:
@ -34,6 +25,3 @@ volumes:
- name: bundle-cache
host:
path: /var/lib/drone/temp/ruby-bundle-cache-sergio.am
- name: www
host:
path: /var/www