website/.woodpecker.yml
Anthony Wang 2ef75e01d0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update usernames
2022-09-05 15:40:28 -05:00

22 lines
550 B
YAML

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