Skip to content

Commit dd2c648

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

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,21 @@ jobs:
601601
separator: "/"
602602
msg: ${{ github.repository }}
603603

604+
- name: Unzip docs
605+
if: ${{ contains(github.ref, 'refs/heads/main') }}
606+
run: |
607+
mkdir userguide
608+
unzip artifacts/mig-docs-${{ env.SEMVER }}.zip -d userguide/
609+
ls -lR userguide/
610+
611+
- name: Deploy Docs
612+
uses: peaceiris/actions-gh-pages@v3
613+
if: ${{ contains(github.ref, 'refs/heads/main') }}
614+
with:
615+
github_token: ${{ secrets.GITHUB_TOKEN }}
616+
publish_dir: userguide/
617+
publish_branch: docs
618+
604619
- name: Install GitReleaseManager
605620
uses: gittools/actions/gitreleasemanager/[email protected]
606621
with:
@@ -636,18 +651,3 @@ jobs:
636651
owner: ${{ steps.repo.outputs._0 }}
637652
repository: ${{ steps.repo.outputs._1 }}
638653
milestone: ${{ env.MAJORMINORPATCH }}
639-
640-
- name: Unzip docs
641-
if: ${{ contains(github.ref, 'refs/heads/main') }}
642-
run: |
643-
mkdir userguide
644-
unzip artifacts/mig-docs-${{ env.SEMVER }}.zip -d userguide/
645-
ls -lR userguide/
646-
647-
- name: Deploy Docs
648-
uses: peaceiris/actions-gh-pages@v3
649-
if: ${{ contains(github.ref, 'refs/heads/main') }}
650-
with:
651-
github_token: ${{ secrets.GITHUB_TOKEN }}
652-
publish_dir: userguide/
653-
publish_branch: docs

0 commit comments

Comments
 (0)