pages/.woodpecker/build-site.yml

18 lines
431 B
YAML
Raw Normal View History

2024-02-08 17:16:33 +00:00
when:
branch: "master"
steps:
2024-12-15 21:52:50 +00:00
- name: Build site
image: nixos/nix:2.24.11
privileged: true
2024-02-08 17:16:33 +00:00
commands:
2024-12-15 21:52:50 +00:00
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- echo 'sandbox = true' >> /etc/nix/nix.conf
- nix build
2024-02-08 17:16:33 +00:00
- name: Deploy to pages
image: codeberg.org/xfix/plugin-codeberg-pages-deploy:1
settings:
2024-12-15 21:52:50 +00:00
folder: result
2024-02-08 17:16:33 +00:00
ssh_key:
from_secret: ssh_key