website/.woodpecker.yml
2022-09-01 09:03:39 -05:00

22 lines
550 B
YAML

clone:
git:
image: bash
commands:
- mkdir -p /var/lib/woodpecker-agent/h
- cd /var/lib/woodpecker-agent/h
- if [ -d website ]; then
- cd website
- git pull
- git submodule update
- else
- git clone --recursive https://git.exozy.me/h/website.git
- fi
pipeline:
build:
image: bash
commands:
- cd /var/lib/woodpecker-agent/h/website
- hugo --minify --destination /srv/http/pages/h
- echo eW91IGZvdW5kIGl0IQo= | base64 -d > /srv/http/pages/h/holy-grail