Skip to content

Commit

Permalink
Merge branch 'master' into unleash-next
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/deploy-unleash-api-token-preprod.yaml
#	.github/workflows/deploy-unleash-api-token-prod.yaml
  • Loading branch information
throndi committed Sep 13, 2023
2 parents 612a2d9 + f5365dd commit 3ffa54c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-unleash-api-token.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy unleash api-token for dev og prod

on:
workflow_dispatch:

jobs:
deploy-dev:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: deploy unleash api-token to dev
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .deploy/unleash-apitoken-preprod.yaml
deploy-prod:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: deploy unleash api-token to prod
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .deploy/unleash-apitoken-prod.yaml

0 comments on commit 3ffa54c

Please sign in to comment.