Skip to content

forbered flytting til fager namespace #18

forbered flytting til fager namespace

forbered flytting til fager namespace #18

Workflow file for this run

name: Deploy Redis
on:
push:
paths:
- nais/redis-dev-gcp.yaml
- nais/redis-prod-gcp.yaml
workflow_dispatch:
jobs:
deploy-redis-dev-gcp:
if: github.ref == 'refs/heads/main' || github.ref == 'mv_arbeidsgiver_fager'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-gcp
RESOURCE: nais/redis-dev-gcp.yaml
deploy-redis-prod-gcp:
if: github.ref == 'refs/heads/main'
needs: deploy-redis-dev-gcp
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: prod-gcp
RESOURCE: nais/redis-prod-gcp.yaml