Eksperiment: Bruk appnavn som skal ha tilgang i Redis-konfig #4
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 Redis | |
on: | |
push: | |
branches: | |
- main | |
# midlertidig for testing | |
- dev/** | |
paths: | |
- redis/** | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
strategy: | |
matrix: | |
# env: [dev, prod] | |
env: [dev] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: ${{ matrix.env }}-gcp | |
RESOURCE: redis/config.yml | |
VARS: redis/${{ matrix.env }}.yml |