From b44afeb9179b02ec71522ba3f18b5226a19f3e43 Mon Sep 17 00:00:00 2001 From: JulieHillRoa Date: Tue, 20 Feb 2024 15:26:37 +0100 Subject: [PATCH] Fjerne apikey fra deploy alerts to prod workflow --- .github/workflows/deploy-alerts-to-prod.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-alerts-to-prod.yaml b/.github/workflows/deploy-alerts-to-prod.yaml index 25fea9753c..808b3fc7aa 100644 --- a/.github/workflows/deploy-alerts-to-prod.yaml +++ b/.github/workflows/deploy-alerts-to-prod.yaml @@ -2,8 +2,6 @@ name: Deploy alerts for veilarbportefolje to prod-fss on: push: - branches: - - 'master' paths: - '.github/workflows/deploy-alerts-to-prod.yaml' - '.nais/alerts/alerts-config-prod.yaml' @@ -12,6 +10,8 @@ on: jobs: deploy-alerts: name: Deploy alerts to prod-fss + permissions: + id-token: write runs-on: ubuntu-latest steps: - name: Checkout @@ -20,6 +20,5 @@ jobs: - name: Deploy to prod-fss uses: nais/deploy/actions/deploy@v2 env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY_OBO }} CLUSTER: prod-fss RESOURCE: .nais/alerts/alerts-config-prod.yaml