diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 56271c3..7405d2f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -59,7 +59,7 @@ jobs: path: dist/MrTrust-${{ env.MRTRUST_VERSION }}.zip - name: Attach ZIP to Gitea release - if: github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' shell: bash env: GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}