website/.woodpecker.yml
Anthony Wang 10dc10d8bf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Specify /tmp/hugo_a as cache dir so build succeeds
Looks like Hugo will never fix https://github.com/gohugoio/hugo/issues/7391 😭
2023-05-30 03:36:43 +00:00

16 lines
403 B
YAML

clone:
git:
image: fish
commands:
- cd ~/Code/website
- git pull https://git.exozy.me/a/website.git
- git submodule update
pipeline:
build:
image: fish
commands:
- cd ~/Code/website
- hugo --minify --cacheDir /tmp/hugo_a --cleanDestinationDir --destination /srv/http/pages/a
- echo eW91IGZvdW5kIGl0IQo= | base64 -d > /srv/http/pages/a/holy-grail