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