Skip to content

Commit 44eae84

Browse files
committed
OPS-10 Trigger build only when app changes
1 parent f5f6343 commit 44eae84

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Backend
22

33
on:
44
push:
5-
#paths: ["apps/backend/**", ".github/workflows/build-backend.yml"]
5+
paths: ["apps/backend/**", ".github/workflows/build-backend.yml"]
66

77
env:
88
# kosli commands picks up org, flow, trail and api-token from these environment variables

.github/workflows/build-frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Frontend
22

33
on:
44
push:
5-
#paths: ["apps/frontend/**", ".github/workflows/build-frontend.yml"]
5+
paths: ["apps/frontend/**", ".github/workflows/build-frontend.yml"]
66

77
env:
88
# kosli commands picks up org, flow, trail and api-token from these environment variables

.github/workflows/create-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create release
1+
name: Create release candidate
22

33
on:
44
workflow_dispatch:
@@ -20,8 +20,8 @@ env:
2020

2121

2222
jobs:
23-
create-candidate-if-does-not-exist:
24-
name: Verify no candicate already exists
23+
create-candidate:
24+
name: Create candidate
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
version:
3535
${{ env.KOSLI_CLI_VERSION }}
3636

37-
- name:
37+
- name: Create release candidate
3838
run: |
3939
source scripts/lib-jira.sh
4040
source scripts/lib-kosli.sh

0 commit comments

Comments
 (0)