Skip to content

Commit de54b4f

Browse files
feat(ci): Enable artifactory upload for rc/* branches
Add rc/* branches to upload-to-artifactory job condition so that release candidate builds are uploaded to JFrog Artifactory. This ensures rc/* builds are available in the artifact repository for consumption by downstream deployment pipelines.
1 parent 1c7a453 commit de54b4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-artifact.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,10 @@ jobs:
680680
681681
upload-to-artifactory:
682682
runs-on: self-hosted
683-
# Upload the artifact to the Artifactory repository on PR *OR* on "ionos-dev|ionos-stable" branch push defined in the on:push:branches
683+
# Upload the artifact to the Artifactory repository on PR *OR* on "ionos-dev|ionos-stable|rc/*" branch push defined in the on:push:branches
684684
if: |
685685
always() &&
686-
(github.event_name == 'pull_request' || github.ref_name == 'ionos-dev' || github.ref_name == 'ionos-stable') &&
686+
(github.event_name == 'pull_request' || github.ref_name == 'ionos-dev' || github.ref_name == 'ionos-stable' || startsWith(github.ref_name, 'rc/')) &&
687687
needs.prepare-matrix.result == 'success' &&
688688
(needs.build-external-apps.result == 'success' || needs.build-external-apps.result == 'skipped') &&
689689
needs.build-artifact.result == 'success'

0 commit comments

Comments
 (0)