File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ jobs:
129129 retention-days : 7
130130
131131 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
133133 environment :
134134 name : github-pages
135135 url : ${{ steps.deployment.outputs.page_url }}
@@ -141,9 +141,6 @@ jobs:
141141 with :
142142 name : kotlinx-rpc-assembled
143143
144- - name : Unzip artifact
145- run : unzip -O UTF-8 -qq '${{ env.ASSEMBLE_ARTIFACT }}' -d ${{ env.ASSEMBLE_DIR }}
146-
147144 - name : Setup Pages
148145 uses : actions/configure-pages@v5
149146
@@ -157,7 +154,7 @@ jobs:
157154 uses : actions/deploy-pages@v4
158155
159156 publish-indexes :
160- if : github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && !inputs.dry_run
157+ if : github.event_name == 'workflow_dispatch' && startsWith( github.ref, 'refs/heads/release-') && !inputs.dry_run
161158 needs : [ build, test, assemble, deploy ]
162159 runs-on : ubuntu-latest
163160 container :
You can’t perform that action at this time.
0 commit comments