From f6cc3e18cfcddc94f98267ef7e97bc20905a009c Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Sat, 28 Sep 2024 20:04:36 +0300 Subject: [PATCH] fixup! Update ci workflow to work with forgejo --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 842f844..50acc35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,17 @@ jobs: - name: Run Nix Build shell: "nix shell nixpkgs#git-lfs --command {0}" run: nix build . + - name: Run Nix Checks + shell: "nix shell nixpkgs#git-lfs --command {0}" + run: nix flake check + - name: Deploy page + if: success() && github.ref == 'refs/heads/main' + shell: "nix shell nixpkgs#git-lfs --command {0}" + run: | + mkdir ~/.ssh/ + (umask 0077 && printf "%s" "${{ secrets.SSH_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 && echo >> ~/.ssh/id_ed25519) + echo -e "Host lindberg-webapps.backplane.net.qo.is\n StrictHostKeyChecking no" >> ~/.ssh/config + nix run .#deploy # - uses: actions/upload-pages-artifact@v3 # with: # path: result/