Skip to content

Deploy Q2 til dev-gcp #6

Deploy Q2 til dev-gcp

Deploy Q2 til dev-gcp #6

Workflow file for this run

name: "Deploy unleash api token"
on:
push:
paths:
- .nais/unleash/**
- .github/workflows/unleash.yml
jobs:
deploy-unleash-api-token-to-dev:
if: github.ref == 'refs/heads/dev'
name: Deploy unleash api token to dev-fss
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy unleash api token
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-fss
RESOURCE: .nais/unleash/unleash-apitoken-preprod.yaml
deploy-unleash-api-token-to-dev-gcp:
if: github.ref == 'refs/heads/gcp'
name: Deploy unleash api-token to dev-gcp
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Deploy unleash api token
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-gcp
RESOURCE: .nais/unleash/unleash-apitoken-preprod.yaml
deploy-unleash-api-token-to-prod:
if: github.ref == 'refs/heads/master'
name: Deploy unleash api-token to prod-fss
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy unleash api token
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: prod-fss
RESOURCE: .nais/unleash/unleash-apitoken-prod.yaml