We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14ce7d8 commit b5e1234Copy full SHA for b5e1234
1 file changed
.github/workflows/publish.yml
@@ -2,7 +2,6 @@
2
name: Publish
3
on:
4
push:
5
- branches: ["main"]
6
#
7
# This block is necessary for the `actions/deploy-pages` actions.
8
# If this part does not exist, raise the following error.
@@ -39,6 +38,7 @@ jobs:
39
38
uses: actions/upload-pages-artifact@v4
40
41
deploy:
+ if: github.ref == 'refs/heads/main'
42
environment:
43
name: github-pages
44
url: ${{ steps.deployment.outputs.page_url }}
0 commit comments