diff --git a/.github/workflows/deploy-linux.yml b/.github/workflows/deploy-linux.yml index da93e75..f11e368 100644 --- a/.github/workflows/deploy-linux.yml +++ b/.github/workflows/deploy-linux.yml @@ -93,7 +93,7 @@ jobs: retention-days: 30 - name: Create and Upload to GitHub Release - if: github.event_name == 'release' || github.event.inputs.create_release == 'true' || startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'release' || github.event.inputs.create_release == 'true' || (github.event_name == 'push' && github.ref_type == 'tag') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |