Skip to content

Commit f12744e

Browse files
committed
Allow deploy workflows to run on PR for testing
1 parent ea83840 commit f12744e

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/klass-api-build-and-deploy.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ name: Klass-api build and deploy
22

33
on:
44
release:
5-
types: [published]
6-
push:
7-
# branches:
8-
# - nais-migration
5+
types: [ published ]
6+
# push:
7+
# branches:
8+
# - nais-migration
9+
# paths:
10+
# - "klass-api/**"
11+
# - "klass-shared/**"
12+
# - ".github/workflows/klass-api-build-and-deploy.yaml"
13+
pull_request:
914
paths:
1015
- "klass-api/**"
1116
- "klass-shared/**"

.github/workflows/klass-forvaltning-build-and-deploy.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@ name: Klass-forvaltning build and deploy
33
on:
44
release:
55
types: [ published ]
6-
push:
6+
# push:
77
# branches:
88
# - nais-migration
9+
# paths:
10+
# - "klass-forvaltning/**"
11+
# - "klass-shared/**"
12+
# - ".github/workflows/klass-forvaltning-build-and-deploy.yaml"
13+
pull_request:
914
paths:
1015
- "klass-forvaltning/**"
1116
- "klass-shared/**"
1217
- ".github/workflows/klass-forvaltning-build-and-deploy.yaml"
1318

19+
1420
jobs:
1521
docker-build:
1622
name: Docker build

0 commit comments

Comments
 (0)