website/.woodpecker.yml

20 lines
484 B
YAML
Raw Normal View History

2023-10-13 16:30:18 +00:00
clone:
git:
image: bash
commands:
- cd /home/daudix
- if [ -d .exoci/website ]; then
- cd .exoci/website
- git pull
2023-10-14 15:35:09 +00:00
- git submodule update --remote --merge
2023-10-13 16:30:18 +00:00
- 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