GitHub Actions: a green pipeline is not yet a successful release

Tests, artifacts and startup are separate steps. Verify the running service and prepare a controlled recovery path.

Every step passed, but customers see an error

Imagine a pipeline copying files and starting a process. Commands succeed, so deployment turns green. A user later discovers that login configuration is missing. Automation confirmed command execution, not product behavior.

GitHub Actions can associate deployment jobs with environments and access-protection rules. Availability of individual safeguards depends on the plan and repository type. Deployment environment documentation

Build a chain of evidence

An example process runs tests, creates an identified artifact and deploys that exact result. After startup, it checks the service address and a selected workflow, such as reading the catalog and reaching a form.

Expose secrets only where needed. Limit job permissions and avoid accidentally printing configuration into logs. Decide whether deployments can run concurrently; an older job should not overwrite a newer release.

Prepare recovery before making the change

Retain the previous artifact and define when recovery should start. Check data-schema compatibility. If a migration is irreversible, the ability to restart older code is not a complete recovery plan.

Test missing configuration, failed startup and an incorrect response after launch. Specify who receives the alert and where verification evidence is stored. A useful pipeline gives the team a clear deployment state and a practical route to repair, rather than merely automating previously manual steps.