website/.woodpecker.yml

21 lines
498 B
YAML
Raw Normal View History

2022-01-19 23:21:52 +00:00
clone:
git:
image: bash
2022-01-19 23:21:52 +00:00
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
2022-01-19 23:21:52 +00:00
pipeline:
build:
image: bash
2022-01-19 23:21:52 +00:00
commands:
- cd /var/lib/woodpecker-agent/Ta180m/website
- hugo --minify --destination /srv/http/pages/ta180m