Skip to content

Commit 797bda2

Browse files
committed
CI Build: Build frontend/backend from current ref_name
Signed-off-by: Florian Hotze <dev@florianhotze.com>
1 parent 9f550e7 commit 797bda2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
permissions:
3030
contents: write
3131
uses: llamara-ai/llamara-frontend/.github/workflows/build.yaml@main
32+
with:
33+
ref: ${{ github.event_name != 'pull_request' && github.ref_name || 'main' }}
3234

3335
backend:
3436
needs: frontend
@@ -38,6 +40,7 @@ jobs:
3840
id-token: write
3941
uses: llamara-ai/llamara-backend/.github/workflows/build.yaml@main
4042
with:
43+
ref: ${{ github.event_name != 'pull_request' && github.ref_name || 'main' }}
4144
container-image-name: llamara-ai/llamara
4245
container-image-type: Distribution
4346
secrets:

0 commit comments

Comments
 (0)