We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e153d36 commit 1287205Copy full SHA for 1287205
.github/workflows/publish.yml
@@ -13,6 +13,10 @@ on:
13
# Run when a PR is opened or updated
14
pull_request:
15
16
+ push:
17
+ branches:
18
+ - main
19
+
20
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
concurrency:
@@ -71,7 +75,7 @@ jobs:
71
75
permissions:
72
76
pages: write
73
77
id-token: write
74
- if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
78
+ if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
79
steps:
80
- name: Setup Pages
81
uses: actions/configure-pages@v5.0.0
0 commit comments