You need to post deployment status to the GitHub Deployments API so teams see what is live.
BeginnerScenarioGitHub Actions
Answer
Situation read → Visibility of what runs where.
What I'd do →
- Use
environment:withurl:on the job; GitHub records a deployment and status automatically. - Add the environment URL output:
environment: { name: production, url: ${{ steps.deploy.outputs.url }} }. - Use the environments page and deployment history for rollbacks and audit.
Why → No extra tooling; each deploy has a commit, actor and time.
Interview tip → Link this to DORA deployment frequency measurement.
More on GitHub Actions
What are workflows, jobs, steps and actions in GitHub Actions?BeginnerWhat events can trigger a workflow?BeginnerWhat is the difference between `pull_request` and `pull_request_target`?AdvancedWhat is a runner, and how do GitHub-hosted and self-hosted runners differ?BeginnerHow do you pass data between steps and between jobs?IntermediateHow does a build matrix work?Intermediate