Skip to content

Commit

Permalink
CI: Fix automatic publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Aug 28, 2024
1 parent dda77f3 commit 68e15a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
path: deploy/manifest.json

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

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

0 comments on commit 68e15a6

Please sign in to comment.