2022-01-19 23:21:52 +00:00
|
|
|
clone:
|
|
|
|
git:
|
2022-01-21 01:05:42 +00:00
|
|
|
image: bash
|
2022-01-19 23:21:52 +00:00
|
|
|
commands:
|
2022-02-13 16:59:34 +00:00
|
|
|
- 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:
|
2022-01-21 01:05:42 +00:00
|
|
|
image: bash
|
2022-01-19 23:21:52 +00:00
|
|
|
commands:
|
2022-02-13 16:59:34 +00:00
|
|
|
- cd /var/lib/woodpecker-agent/Ta180m/website
|
2022-01-21 00:48:04 +00:00
|
|
|
- hugo --minify --destination /srv/http/pages/ta180m
|