From cda4d3808f72f07c4e3a4cf71714fad783a2ab3e Mon Sep 17 00:00:00 2001 From: lemmih Date: Tue, 12 Aug 2025 15:13:23 +0200 Subject: [PATCH 1/2] enable dry-run mode --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7671db4..7c8e396 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,9 +29,9 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - run: nix build - name: Deploy 🚀 - if: github.ref == 'refs/heads/main' - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: live # The branch the action should deploy to. FOLDER: result # The folder the action should deploy. + DRY_RUN: github.ref != 'refs/heads/main' From 0bbb7bd45414c58067bcca153f50bb9b89f1ea2c Mon Sep 17 00:00:00 2001 From: lemmih Date: Tue, 12 Aug 2025 15:14:25 +0200 Subject: [PATCH 2/2] fix typo --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7c8e396..986a5c2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - run: nix build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4 + uses: JamesIves/github-pages-deploy-action@v4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: live # The branch the action should deploy to.