File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ jobs:
129
129
retention-days : 7
130
130
131
131
deploy :
132
- if : github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && !inputs.dry_run
132
+ if : github.event_name == 'workflow_dispatch' && startsWith( github.ref, 'refs/heads/release-') && !inputs.dry_run
133
133
environment :
134
134
name : github-pages
135
135
url : ${{ steps.deployment.outputs.page_url }}
@@ -157,7 +157,7 @@ jobs:
157
157
uses : actions/deploy-pages@v4
158
158
159
159
publish-indexes :
160
- if : github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && !inputs.dry_run
160
+ if : github.event_name == 'workflow_dispatch' && startsWith( github.ref, 'refs/heads/release-') && !inputs.dry_run
161
161
needs : [ build, test, assemble, deploy ]
162
162
runs-on : ubuntu-latest
163
163
container :
You can’t perform that action at this time.
0 commit comments