diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 39adf53b..d1cb1004 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -161,7 +161,7 @@ jobs: permissions: id-token: write runs-on: ubuntu-latest - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v') + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4 with: @@ -181,7 +181,7 @@ jobs: permissions: id-token: write runs-on: ubuntu-latest - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v') + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4