diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 08e1c7a..18e5df9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ jobs: prepare-matrix: name: Prepare Matrix runs-on: ubuntu-latest - if: github.event_name == 'push' && contains(github.event.ref, '/tags/') + if: ${{ startsWith(github.ref, 'refs/tags/v') }} outputs: servers: ${{ steps.create-matrix.outputs.matrix }} steps: