Oppdtater proxy url for draft #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |