-
Notifications
You must be signed in to change notification settings - Fork 158
Refreshing CRM changes on SSW.People
Use this runbook when someone has updated their CRM profile data or skills and wants to know when the change will appear on https://www.ssw.com.au/people/.
SSW.People profile data is maintained through 2 repositories:
-
SSWConsulting/SSW.People.Profiles- profile content, CRM update notes, and the workflow that decides whether SSW.People should be rebuilt. -
SSWConsulting/SSW.People- Gatsby site code and the production build/deploy workflow.
CRM skill changes are not deployed directly by CRM. The expected flow is:
- CRM/Power Automate updates the profile data and writes a CRM skills updated flag to Azure Blob Storage.
-
SSW.People.ProfilesrunsRolling Production Build. - That workflow downloads
CRM_SkillsUpdatedFlag.txtfrom the secretCRM_SKILLS_FLAG_URL. - If the file contains
TRUE, it dispatchesTrigger-People-BuildinSSW.People.Profiles. -
Trigger-People-Buildfinds the latestrelease/*branch inSSW.People. - It dispatches
build-deploy-production.ymlinSSW.Peopleon that release branch. -
SSW.Peoplebuilds Gatsby with the CRM settings injected from GitHub secrets, then deploys the built site to Azure storage. - After a flag-based deployment is triggered,
Rolling Production BuildwritesFALSEback to the Azure Blob flag file.
The GitHub polling workflow runs every 15 minutes:
on:
schedule:
- cron: '*/15 * * * *'
workflow_dispatch:The full visible update time also depends on the upstream CRM/Power Automate export and the SSW.People production deployment. The production deployment usually takes several minutes once started.
Check the scheduled workflow first:
gh run list -R SSWConsulting/SSW.People.Profiles --workflow rolling_build.yml --limit 10Open the newest run:
gh run view <run-id> -R SSWConsulting/SSW.People.Profiles --webIf the flag was not set, the run will show Skipping Build - CRM Data Ok and no SSW.People production deploy will be triggered.
If the flag was set, it will show Running Build - CRM Change Detected and dispatch main-trigger-people-deploy.yml.
Use this when you want to respect the CRM skills flag and clear it after a successful trigger:
gh workflow run rolling_build.yml -R SSWConsulting/SSW.People.Profiles --ref mainThen watch it:
gh run list -R SSWConsulting/SSW.People.Profiles --workflow rolling_build.yml --limit 1
gh run watch <run-id> -R SSWConsulting/SSW.People.Profiles --exit-statusUse this when the CRM data is already updated and you want to rebuild/deploy SSW.People immediately:
gh workflow run main-trigger-people-deploy.yml -R SSWConsulting/SSW.People.Profiles --ref mainThis dispatches build-deploy-production.yml in SSW.People on the latest release/* branch.
Important: this direct trigger does not check or reset CRM_SkillsUpdatedFlag.txt. If the Azure Blob flag is still TRUE, the next scheduled Rolling Production Build may trigger another deploy.
Watch the profile-side trigger:
gh run list -R SSWConsulting/SSW.People.Profiles --workflow main-trigger-people-deploy.yml --limit 5
gh run watch <profiles-run-id> -R SSWConsulting/SSW.People.Profiles --exit-statusThen watch the downstream SSW.People production deployment:
gh run list -R SSWConsulting/SSW.People --workflow build-deploy-production.yml --limit 5
gh run watch <people-run-id> -R SSWConsulting/SSW.People --exit-statusThe downstream production run should be on the latest release branch, for example release/171.
Check the live footer timestamp:
curl -fsSL https://www.ssw.com.au/people/ | rg -o 'title="Last updated [^"]+"|Last updated[^<]+'You can also open the production run URL from GitHub Actions and confirm all jobs completed:
Build / GatsbyBuild / InfraDeploy / InfraDeploy / Site
On 29 Jun 2026, a manual Trigger-People-Build run in SSW.People.Profiles dispatched the SSW.People production deployment on release/171.
-
SSW.People.Profilesrun: https://github.com/SSWConsulting/SSW.People.Profiles/actions/runs/28370669003 -
SSW.Peopleproduction run: https://github.com/SSWConsulting/SSW.People/actions/runs/28370679628 - Live footer after deployment:
Last updated 29 Jun 2026 at 12:07 UTC
- If
SSW.People.Profilessucceeds but noSSW.Peoplerun appears, inspectTrigger-People-Buildand confirm theBuild and deploy Peoplestep succeeded. - If
SSW.Peopledeploys successfully but the person still sees old data, confirm the CRM/Power Automate export had already produced the updated data before the site build started. - If the direct trigger is used and another deploy happens soon after, check whether the flag-aware scheduled run later found
CRM_SkillsUpdatedFlag.txtstill set toTRUE. - Do not print or copy GitHub secret values while troubleshooting. Secret names are safe to reference; values are not.
-
Appendix