gir tilgang til familie-baks-kafka-manager og fjerner tilgang for fam… #21
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 Aiven topics | |
on: | |
push: | |
paths: | |
- '.nais/aiven-topics.yaml' | |
- '.github/workflows/deploy-aiven-topics.yml' | |
jobs: | |
deploy-topics-dev: | |
name: Deploy topics to dev | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: nais/deploy/actions/deploy@master | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
CLUSTER: dev-gcp | |
RESOURCE: .nais/aiven-topics.yaml | |
VARS: .nais/config-dev.yaml | |
deploy-topcis-prod: | |
name: Deploy topics to prod | |
needs: deploy-topics-dev | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: nais/deploy/actions/deploy@master | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
CLUSTER: prod-gcp | |
RESOURCE: .nais/aiven-topics.yaml | |
VARS: .nais/config-prod.yaml |