This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Merge pull request #1530 from navikt/fix-del-skjerm-lenke #27
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-apitoken | |
on: | |
push: | |
paths: | |
- ".nais/unleash/unleash-api-token.dev.yaml" | |
- ".nais/unleash/unleash-api-token.prod.yaml" | |
jobs: | |
deploy-dev: | |
name: Deploy unleash-apitoken to dev | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Deploy application | |
uses: nais/deploy/actions/deploy@v1 | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
CLUSTER: dev-gcp | |
RESOURCE: .nais/unleash/unleash-api-token.dev.yaml | |
deploy-prod: | |
name: Deploy unleash-apitoken to prod | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Deploy application | |
uses: nais/deploy/actions/deploy@v1 | |
if: github.ref == 'refs/heads/master' | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
CLUSTER: prod-gcp | |
RESOURCE: .nais/unleash/unleash-api-token.prod.yaml |