website/.woodpecker.yml
daudix-UFO 4f222003de
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: Submodule update in workflow
2023-10-14 15:35:09 +00:00

20 lines
484 B
YAML

clone:
git:
image: bash
commands:
- cd /home/daudix
- if [ -d .exoci/website ]; then
- cd .exoci/website
- git pull
- git submodule update --remote --merge
- else
- git clone --recursive https://git.exozy.me/daudix/website.git .exoci/website
- fi
pipeline:
build:
image: bash
commands:
- cd /home/daudix/.exoci/website
- ~/.nix-profile/bin/zola build --output-dir /srv/http/pages/daudix --force