pages/.woodpecker.yml
0xMRTT 37eec41549
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci: update
2023-05-10 15:11:34 +02:00

24 lines
570 B
YAML

clone:
git:
image: bash
commands:
- cd /home/0xmrtt
- if [ -d bavarder-pages ]; then
- cd bavarder-pages
- git pull
- git submodule update
- else
- git clone --recursive https://git.exozy.me/0xMRTT/bavarder-pages.git
- fi
pipeline:
build:
image: bash
commands:
- cd /home/0xmrtt/bavarder-pages
- hugo --minify
- cp -rf public/* /home/0xmrtt/bavarder-pages-public
- cd /home/0xmrtt/bavarder-pages-public
- git add .
- git commit -m "Update"
- git push