Skip to content

Commit e0d4e85

Browse files
committed
Update workflow from branch
1 parent 08fbe89 commit e0d4e85

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
7-
"repo_name": "pseudo-service",
7+
"repo_name": "dapla-dlp-pseudo-service",
88
"team_uniform_name": "dapla-stat",
99
"program_type": "APPLICATION",
1010
"java_version": "21",

.github/workflows/build-deploy-app.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
on:
22
release:
33
types: [ published ]
4+
pull_request: ## ONLY FOR TESTING, SHOULD BE REMOVED AFTER DEPLOY PR IS MERGED
5+
branches: [nais-deploy]
46
push:
57
branches:
68
- master
@@ -52,10 +54,10 @@ jobs:
5254

5355
- name: Maven build and install
5456
run: |
55-
if [[ ${{github.event_name}} == "push" ]]; then
56-
mvn --batch-mode -P dapla-artifact-registry deploy
57-
else
57+
if [[ ${{github.event_name}} == "release" ]]; then
5858
mvn --batch-mode clean package
59+
else
60+
mvn --batch-mode -P dapla-artifact-registry deploy
5961
fi
6062
6163
- name: Add optional extra tag

0 commit comments

Comments
 (0)