Skip to content

Commit 632166c

Browse files
authored
fix: enable dry-run mode for PRs (#7)
1 parent e4462fc commit 632166c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
- uses: DeterminateSystems/nix-installer-action@main
3030
- run: nix build
3131
- name: Deploy 🚀
32-
if: github.ref == 'refs/heads/main'
33-
uses: JamesIves/[email protected]
32+
uses: JamesIves/github-pages-deploy-action@v4
3433
with:
3534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
BRANCH: live # The branch the action should deploy to.
3736
FOLDER: result # The folder the action should deploy.
37+
DRY_RUN: github.ref != 'refs/heads/main'

0 commit comments

Comments
 (0)