diff --git a/.github/workflows/kafka-key-maintenance.yaml b/.github/workflows/kafka-key-maintenance.yaml index 320d2dfb..bb0d6360 100644 --- a/.github/workflows/kafka-key-maintenance.yaml +++ b/.github/workflows/kafka-key-maintenance.yaml @@ -81,3 +81,22 @@ jobs: CLUSTER: dev-gcp RESOURCE: apps/kafka-key-maintenance/nais/nais-dev.yaml VAR: image=${{ needs.build.outputs.image }},kafka=nav-dev + + deploy-prod: + if: github.ref == 'refs/heads/main' + name: Deploy to prod-gcp + needs: + - build + permissions: + contents: read + id-token: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Deploy to GCP + uses: nais/deploy/actions/deploy@v2 + env: + CLUSTER: prod-gcp + RESOURCE: apps/kafka-key-maintenance/nais/nais-prod.yaml + VAR: image=${{ needs.build.outputs.image }},kafka=nav-prod