File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,21 @@ jobs:
225
225
separator : " /"
226
226
msg : ${{ github.repository }}
227
227
228
+ - name : Unzip docs
229
+ if : ${{ contains(github.ref, 'refs/heads/main') }}
230
+ run : |
231
+ mkdir userguide
232
+ unzip artifacts/mwm-docs-${{ env.SEMVER }}.zip -d userguide/
233
+ ls -lR userguide/
234
+
235
+ - name : Deploy Docs
236
+ uses : peaceiris/actions-gh-pages@v4
237
+ if : ${{ contains(github.ref, 'refs/heads/main') }}
238
+ with :
239
+ github_token : ${{ secrets.GITHUB_TOKEN }}
240
+ publish_dir : userguide/
241
+ publish_branch : docs
242
+
228
243
- name : Install GitReleaseManager
229
244
uses :
gittools/actions/gitreleasemanager/[email protected]
230
245
with :
@@ -258,18 +273,3 @@ jobs:
258
273
owner : ${{ steps.repo.outputs._0 }}
259
274
repository : ${{ steps.repo.outputs._1 }}
260
275
milestone : ${{ env.MAJORMINORPATCH }}
261
-
262
- - name : Unzip docs
263
- if : ${{ contains(github.ref, 'refs/heads/main') }}
264
- run : |
265
- mkdir userguide
266
- unzip artifacts/mwm-docs-${{ env.SEMVER }}.zip -d userguide/
267
- ls -lR userguide/
268
-
269
- - name : Deploy Docs
270
- uses : peaceiris/actions-gh-pages@v4
271
- if : ${{ contains(github.ref, 'refs/heads/main') }}
272
- with :
273
- github_token : ${{ secrets.GITHUB_TOKEN }}
274
- publish_dir : userguide/
275
- publish_branch : docs
You can’t perform that action at this time.
0 commit comments