Skip to content

Commit d94d679

Browse files
committed
fix: missing branch
1 parent c9468f4 commit d94d679

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/deploy-to.openshift-prod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ jobs:
151151
${{ env.CHES_CLIENT_ID }} \
152152
${{ env.CHES_CLIENT_SECRET }} \
153153
${{ env.CHES_TOKEN_URL }} \
154-
${{ env.CHES_ENDPOINT_URL }}
154+
${{ env.CHES_ENDPOINT_URL }} \
155+
${{ env.BRANCH }}
155156
156157
# Start rollout (if necessary) and follow it
157158
oc rollout restart deployment/${{ env.SPRING_BOOT_IMAGE_NAME }} 2> /dev/null \

.github/workflows/deploy-to.openshift-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ jobs:
140140
| oc apply -f -
141141
142142
curl -s https://raw.githubusercontent.com/bcgov/${{ env.REPO_NAME }}/${{ env.BRANCH }}/tools/config/update-configmap.sh \
143-
| bash /dev/stdin test \
143+
| bash /dev/stdin \
144+
test \
144145
${{ env.APP_NAME }} \
145146
${{ env.NAMESPACE }} \
146147
${{ env.COMMON_NAMESPACE }} \
@@ -151,7 +152,8 @@ jobs:
151152
${{ env.CHES_CLIENT_ID }} \
152153
${{ env.CHES_CLIENT_SECRET }} \
153154
${{ env.CHES_TOKEN_URL }} \
154-
${{ env.CHES_ENDPOINT_URL }}
155+
${{ env.CHES_ENDPOINT_URL }} \
156+
${{ env.BRANCH }}
155157
156158
# Start rollout (if necessary) and follow it
157159
oc rollout restart deployment/${{ env.SPRING_BOOT_IMAGE_NAME }} 2> /dev/null \

0 commit comments

Comments
 (0)