Interview Prep/CI/CD/GitHub Actions

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 →

  1. Use environment: with url: on the job; GitHub records a deployment and status automatically.
  2. Add the environment URL output: environment: { name: production, url: ${{ steps.deploy.outputs.url }} }.
  3. 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.

All CI/CD questions

More on GitHub Actions