Skip to content

Commit 7004dd1

Browse files
committed
CI: Avoid pushing manifest before PKG
1 parent 495d1d7 commit 7004dd1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/patch.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,6 @@ jobs:
104104
name: manifest.json
105105
path: deploy/manifest.json
106106

107-
- name: Sync GitHub Pages
108-
if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
109-
uses: JamesIves/[email protected]
110-
with:
111-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
112-
BRANCH: gh-pages
113-
FOLDER: deploy/
114-
CLEAN: true
115-
116107
- name: Create GitHub release
117108
if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
118109
uses: softprops/action-gh-release@v1
@@ -122,3 +113,12 @@ jobs:
122113
sys_patch_dict.py
123114
token: ${{ secrets.GITHUB_TOKEN }}
124115
tag_name: ${{ steps.fetch.outputs.BACKUP_FOLDER }}
116+
117+
- name: Sync GitHub Pages
118+
if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
119+
uses: JamesIves/[email protected]
120+
with:
121+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
122+
BRANCH: gh-pages
123+
FOLDER: deploy/
124+
CLEAN: true

0 commit comments

Comments
 (0)