Contenido de las static pages de sergio.am https://sergio.am
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

39 lines
611 B

---
kind: pipeline
type: docker
name: deploy-jekyll-sergio.am
steps:
- name: build
image: ruby:latest
volumes:
- name: bundle-cache
path: /cache
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
when:
branch:
- main
node:
location: marley
volumes:
- name: bundle-cache
host:
path: /var/lib/drone/temp/ruby-bundle-cache-sergio.am
- name: www
host:
path: /var/www