Skip to content

Bump nais/deploy from 1 to 2 #10

Bump nais/deploy from 1 to 2

Bump nais/deploy from 1 to 2 #10

name: Deploy unleash api-tokens
on:
push:
paths:
- '.github/workflows/unleash-apitokens.yaml'
- 'nais/unleash/unleash-apitoken-dev.yaml'
- 'nais/unleash/unleash-apitoken-prod.yaml'
jobs:
apply-apitoken-unleash:
name: Apply ApiToken for Unleash to cluster
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy to dev
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: nais/unleash/unleash-apitoken-dev.yaml
- name: Deploy to prod
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: nais/unleash/unleash-apitoken-prod.yaml