www.franconian.net/.drone.yml

27 lines
401 B
YAML
Raw Normal View History

2020-10-06 01:32:06 +02:00
---
kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: alpine:3.12
volumes:
- name: site
path: /var/www/html
commands:
- apk add --no-cache hugo
- hugo
- cp -r public/* /var/www/html
when:
event:
- push
branch:
- master
2020-10-06 01:32:06 +02:00
volumes:
- name: site
host:
path: /srv/www/sites/www.franconian.net