website/.woodpecker.yml
Anthony Wang ce8e7abe2b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update '.woodpecker.yml'
2022-07-22 17:07:23 -05:00

21 lines
580 B
YAML

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