diff --git a/.woodpecker/build-site.yml b/.woodpecker/build-site.yml index fa525b2..4de02aa 100644 --- a/.woodpecker/build-site.yml +++ b/.woodpecker/build-site.yml @@ -1,17 +1,17 @@ when: - branch: "master" + branch: master + event: push 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 + - mkdir public && cp -av result/* public - name: Deploy to pages image: codeberg.org/xfix/plugin-codeberg-pages-deploy:1 settings: - folder: result + folder: public ssh_key: from_secret: ssh_key