diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c85dbd268..582a453288 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,8 @@ on: push: branches: - master + tags: + - 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+' workflow_dispatch: inputs: flavor: @@ -169,6 +171,7 @@ jobs: deploy: name: Deploy to cluster + if: ${{ github.event_name == 'workflow_dispatch' || github.ref_type == 'tag' }} environment: ${{ github.event.inputs.flavor }} permissions: contents: 'write'