website/.woodpecker.yml
0xMRTT d60105e095
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci: fix hugo
2023-05-17 15:31:27 +02:00

21 lines
418 B
YAML

clone:
git:
image: bash
commands:
- cd /home/0xmrtt
- if [ -d website ]; then
- cd website
- git pull
- git submodule update
- else
- git clone --recursive https://git.exozy.me/0xMRTT/website.git
- fi
pipeline:
build:
image: bash
commands:
- cd /home/0xmrtt/website
- hugo --minify
- cp -rf public/* /srv/http/pages/0xmrtt