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:
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 }}
@@ -141,9 +141,6 @@ jobs:
141
141
with :
142
142
name : kotlinx-rpc-assembled
143
143
144
- - name : Unzip artifact
145
- run : unzip -O UTF-8 -qq '${{ env.ASSEMBLE_ARTIFACT }}' -d ${{ env.ASSEMBLE_DIR }}
146
-
147
144
- name : Setup Pages
148
145
uses : actions/configure-pages@v5
149
146
@@ -157,7 +154,7 @@ jobs:
157
154
uses : actions/deploy-pages@v4
158
155
159
156
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
161
158
needs : [ build, test, assemble, deploy ]
162
159
runs-on : ubuntu-latest
163
160
container :
You can’t perform that action at this time.
0 commit comments