pages/.woodpecker.yml
Thomas A. Christensen II 4335df6bca
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: Move Woodpecker ci file
There is a known issue with Woodpecker where files within a .woodpecker/ directory
are not found by Woodpecker, but a .woodpecker.yml file is found.

https://github.com/woodpecker-ci/woodpecker/issues/3600

Although this change is most likely a Gitea upgrade problem, switch to the more
conventional system anyway.
2025-01-07 23:46:07 -06:00

17 lines
418 B
YAML

when:
branch: master
event: push
steps:
- name: Build site
image: nixos/nix:2.24.11
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix build
- mkdir public && cp -av result/* public
- name: Deploy to pages
image: codeberg.org/xfix/plugin-codeberg-pages-deploy:1
settings:
folder: public
ssh_key:
from_secret: ssh_key