From 7004dd15fcaf6514a83d5de767683cd65f13284c Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Wed, 11 Dec 2024 09:57:04 -0700 Subject: [PATCH] CI: Avoid pushing manifest before PKG --- .github/workflows/patch.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index 308fe4e..a190331 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -104,15 +104,6 @@ jobs: name: manifest.json path: deploy/manifest.json - - name: Sync GitHub Pages - if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }} - uses: JamesIves/github-pages-deploy-action@3.7.1 - with: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BRANCH: gh-pages - FOLDER: deploy/ - CLEAN: true - - name: Create GitHub release if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }} uses: softprops/action-gh-release@v1 @@ -122,3 +113,12 @@ jobs: sys_patch_dict.py token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ steps.fetch.outputs.BACKUP_FOLDER }} + + - name: Sync GitHub Pages + if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }} + uses: JamesIves/github-pages-deploy-action@3.7.1 + with: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: deploy/ + CLEAN: true