hugo-site/.woodpecker.yml

13 lines
241 B
YAML

steps:
- name: build
image: myhugo:latest
when:
event: push
branch: master
commands:
- rm -rf /publish/*
- ln -s /publish publish
- hugo
volumes:
- /var/www/hugo.site.tesses.net:/publish