pages/.woodpecker.yml
0xMRTT b915bb8f2d
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci: push to exozy.me
2023-05-18 09:49:04 +00:00

26 lines
613 B
YAML

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