diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 08e8f4ffe5..51450c355b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,11 +1,8 @@ name: Deploy to production on: - workflow_run: - workflows: ["Test"] - branches: - - release + release: types: - - completed + - published env: PROJECT_ID: ${{ secrets.GKE_PROJECT }} GKE_CLUSTER: p5-gke-cluster @@ -21,7 +18,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 with: - ref: release + ref: ${{ github.event.release.tag_name }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 with: