Skip to content

Instantly share code, notes, and snippets.

flowchart
  approved[PR Passes CI<br/>and<br/>Two PR Review Approvals] --->|Announce deployment 7 min<br/>ahead of planned deploy<br/>in #deployment| mergeRepoPR[Merge PR into repo at<br/>originally indicated deployment window]
  mergeRepoPR ---> prActions(GitHub action `create-release` is triggered<br/>tags branch for release<br/>creates release<br/>)
  prActions --->|notifies AppState of release| merge(AppState GitHub action creates deployment)
  merge ---> |Monitor the deploy as indicated<br/>in the AppState PR description| determine[Determine deployment outcome]
  determine --->|If unsuccessful| rollback[Perform a roll-forward, when possible]
  determine --->|On successfull deployment| announce[Announce successful deployment<br/>in the same #deployments thread]