Skip to content

Commit 38cb2e2

Browse files
authored
Merge pull request #95 from bcgov/fix-delpoyment-file-bccasapi
Update deploy-to-openshift-test.yml added BCCASAPI
2 parents 908cc05 + 1e143ac commit 38cb2e2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,17 @@ jobs:
150150
cat << JSON > /tmp/auth_schema_settings
151151
${{ secrets.D365_API_KEY_SCHEME }}
152152
JSON
153-
153+
cat << JSON > /tmp/BCCASApi
154+
${{ secrets.BCCASApi }}
155+
JSON
154156
curl -s https://raw.githubusercontent.com/bcgov/${{ env.REPO_NAME }}/${{ env.BRANCH }}/tools/config/update-configmap.sh \
155157
| bash /dev/stdin \
156158
${{ env.APP_ENVIRONMENT }} \
157159
${{ env.APP_NAME }} \
158160
${{ env.OPENSHIFT_NAMESPACE }} \
159161
/tmp/authentication_settings \
160-
/tmp/auth_schema_settings
161-
162+
/tmp/auth_schema_settings \
163+
/tmp/BCCASApi
162164
# Start rollout (if necessary) and follow it
163165
oc rollout restart deployment/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }} 2> /dev/null \
164166
|| true && echo "Rollout in progress"

0 commit comments

Comments
 (0)