pages/.woodpecker/build-site.yml

18 lines
418 B
YAML
Raw Normal View History

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