when: branch: "master" steps: - name: Build site image: nixos/nix:2.24.11 privileged: true commands: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'sandbox = true' >> /etc/nix/nix.conf - nix build - name: Deploy to pages image: codeberg.org/xfix/plugin-codeberg-pages-deploy:1 settings: folder: result ssh_key: from_secret: ssh_key