Skip to content

Commit 257dcd4

Browse files
rajbosCopilot
andcommitted
ci: fix prod org var name, add ACA FQDN to deployment summary
- Fixed SHARING_ALLOWED_GITHUB_ORGS typo in production env (was plural, workflow reads singular SHARING_ALLOWED_GITHUB_ORG) - Added aca_fqdn to deployment summary table so the production CNAME target is visible immediately after first deploy - Added DNS setup instructions to production summary when custom domain is not yet configured Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 593e471 commit 257dcd4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/sharing-server-deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ jobs:
259259
working-directory: sharing-server/infra
260260
run: |
261261
APP_URL=$(terraform output -raw app_url)
262+
ACA_FQDN=$(terraform output -raw aca_fqdn)
262263
OAUTH_URL=$(terraform output -raw oauth_callback_url)
263264
DASH_URL=$(terraform output -raw dashboard_url)
264265
HEALTH_URL=$(terraform output -raw health_url)
@@ -272,8 +273,19 @@ jobs:
272273
echo "| Dashboard | ${DASH_URL} |"
273274
echo "| Health | ${HEALTH_URL} |"
274275
echo "| OAuth callback | ${OAUTH_URL} |"
276+
echo "| ACA FQDN (CNAME target) | ${ACA_FQDN} |"
275277
} >> "$GITHUB_STEP_SUMMARY"
276278
279+
if [[ "${{ needs.setup.outputs.is_prod }}" == "true" ]]; then
280+
{
281+
echo ""
282+
echo "> 📋 **Custom domain DNS setup** — if \`SHARING_CUSTOM_DOMAIN\` is not yet set,"
283+
echo "> add these records at your DNS provider, then set the variable and redeploy:"
284+
echo "> - \`CNAME <subdomain>\` → \`${ACA_FQDN}\`"
285+
echo "> - \`TXT asuid.<subdomain>\` → *(ACA environment verification ID from Azure portal)*"
286+
} >> "$GITHUB_STEP_SUMMARY"
287+
fi
288+
277289
if [[ "${{ needs.setup.outputs.is_prod }}" == "false" ]]; then
278290
{
279291
echo ""

0 commit comments

Comments
 (0)