Skip to content

Commit 68e15a6

Browse files
committed
CI: Fix automatic publishing
1 parent dda77f3 commit 68e15a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/patch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
path: deploy/manifest.json
9494

9595
- name: Sync GitHub Pages
96-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
96+
if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
9797
uses: JamesIves/[email protected]
9898
with:
9999
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
@@ -102,7 +102,7 @@ jobs:
102102
CLEAN: true
103103

104104
- name: Create GitHub release
105-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
105+
if: ${{ github.ref == 'refs/heads/main' && steps.fetch.outputs.BACKUP_FOLDER != '' }}
106106
uses: softprops/action-gh-release@v1
107107
with:
108108
files: |

0 commit comments

Comments
 (0)