Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Move GitReleaseManager to the bottom since it is currently broken

Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp authored Jun 13, 2024
1 parent 1a31215 commit 13bb998
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,21 @@ jobs:
separator: "/"
msg: ${{ github.repository }}

- name: Unzip docs
if: ${{ contains(github.ref, 'refs/heads/main') }}
run: |
mkdir userguide
unzip artifacts/mwm-docs-${{ env.SEMVER }}.zip -d userguide/
ls -lR userguide/
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
if: ${{ contains(github.ref, 'refs/heads/main') }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: userguide/
publish_branch: docs

- name: Install GitReleaseManager
uses: gittools/actions/gitreleasemanager/[email protected]
with:
Expand Down Expand Up @@ -258,18 +273,3 @@ jobs:
owner: ${{ steps.repo.outputs._0 }}
repository: ${{ steps.repo.outputs._1 }}
milestone: ${{ env.MAJORMINORPATCH }}

- name: Unzip docs
if: ${{ contains(github.ref, 'refs/heads/main') }}
run: |
mkdir userguide
unzip artifacts/mwm-docs-${{ env.SEMVER }}.zip -d userguide/
ls -lR userguide/
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
if: ${{ contains(github.ref, 'refs/heads/main') }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: userguide/
publish_branch: docs

0 comments on commit 13bb998

Please sign in to comment.