Skip to content

Commit 13bb998

Browse files
authored
Update build.yml
Move GitReleaseManager to the bottom since it is currently broken Signed-off-by: Victor Chang <[email protected]>
1 parent 1a31215 commit 13bb998

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,21 @@ jobs:
225225
separator: "/"
226226
msg: ${{ github.repository }}
227227

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+
228243
- name: Install GitReleaseManager
229244
uses: gittools/actions/gitreleasemanager/[email protected]
230245
with:
@@ -258,18 +273,3 @@ jobs:
258273
owner: ${{ steps.repo.outputs._0 }}
259274
repository: ${{ steps.repo.outputs._1 }}
260275
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

0 commit comments

Comments
 (0)