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
|
2020-10-09 21:09:48 +02:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
branch:
|
|
|
|
- master
|
2020-10-06 01:32:06 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: site
|
|
|
|
host:
|
|
|
|
path: /srv/www/sites/www.franconian.net
|