From 13bb998aa8d29f55773eca43ae0897c5d25c4535 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Thu, 13 Jun 2024 11:39:39 -0700 Subject: [PATCH] Update build.yml Move GitReleaseManager to the bottom since it is currently broken Signed-off-by: Victor Chang --- .github/workflows/build.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3afb2f8d6..e38ef6f91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/setup@v1.1.1 with: @@ -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