Skip to content

Commit

Permalink
Deploy unleash api token til prod-gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz committed Jun 14, 2024
1 parent d263a8a commit 9059687
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/unleash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
RESOURCE: .nais/unleash/unleash-apitoken-preprod.yaml

deploy-unleash-api-token-to-dev-gcp:
if: github.ref == 'refs/heads/gcp'
if: github.ref == 'refs/heads/dev'
name: Deploy unleash api-token to dev-gcp
runs-on: ubuntu-latest
permissions:
Expand All @@ -37,6 +37,22 @@ jobs:
CLUSTER: dev-gcp
RESOURCE: .nais/unleash/unleash-apitoken-preprod.yaml

deploy-unleash-api-token-to-prod-gcp:
if: github.ref == 'refs/heads/dev'
name: Deploy unleash api-token to prod-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: prod-gcp
RESOURCE: .nais/unleash/unleash-apitoken-prod.yaml

deploy-unleash-api-token-to-prod:
if: github.ref == 'refs/heads/master'
name: Deploy unleash api-token to prod-fss
Expand Down
1 change: 0 additions & 1 deletion .nais/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ metadata:
spec:
image: "{{image}}"
port: 3000
webproxy: true
liveness:
path: /internal/liveness
initialDelay: 20
Expand Down
1 change: 0 additions & 1 deletion .nais/prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ metadata:
spec:
image: "{{image}}"
port: 3000
webproxy: true
liveness:
path: /internal/liveness
initialDelay: 20
Expand Down

0 comments on commit 9059687

Please sign in to comment.