-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (39 loc) · 1 KB
/
deploy-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: build-deploy-dev
on:
push:
paths-ignore:
- '**.md'
- '.gitignore'
- 'LICENCE'
- 'CODEOWNERS'
- '.github/workflows/alerts.yml'
- '.nais/alerts.yml'
branches:
- '**'
jobs:
call-workflow:
if: "(github.ref_name == 'master') || contains(github.event.head_commit.message, 'deploy:dev') || contains(github.ref, 'feature/')"
uses: navikt/pam-deploy/.github/workflows/deploy-next-js-dev.yml@v7
permissions:
actions: read
contents: write
id-token: write
packages: write
security-events: write
secrets: inherit
with:
SKIP_DRAFT_RELEASE: ${{ github.ref_name != 'master' }}
deploy-redis:
name: Deploy redis
runs-on: ubuntu-latest
permissions:
id-token: "write"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy Redis
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-gcp
RESOURCE: .nais/redis.yml
VARS: .nais/dev.yml