From 68e15a64dab0e4ded1a3bfbe89e9d0aee37754cc Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Wed, 28 Aug 2024 17:20:09 -0600 Subject: [PATCH] CI: Fix automatic publishing --- .github/workflows/patch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index ddc3bf7..8cf8baa 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -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/github-pages-deploy-action@3.7.1 with: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} @@ -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: |