Skip to content

Commit

Permalink
ci: Fix Github Pages deploy action so it works on push.
Browse files Browse the repository at this point in the history
I was using $default-branch, which can only be used on templates and not workflows.
  • Loading branch information
elondaits committed Apr 8, 2024
1 parent d566fd0 commit 720b161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Run on pushes to the default branch
push:
branches:
[$default-branch]
- main

# ... Also run manually
workflow_dispatch:
Expand Down

0 comments on commit 720b161

Please sign in to comment.