Skip to content

Commit b1bf8b4

Browse files
authored
Docs: deployment process to Azure Web App (#2128)
2 parents 54a88b3 + bd15f2b commit b1bf8b4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

docs/deployment/README.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ The Django application gets built into a [Docker image][dockerfile] with [NGINX]
1010
The application is deployed to an [Azure Web App Container][az-webapp] using three separate environments for `dev`, `test`,
1111
and `prod`.
1212

13-
A [GitHub Action][gh-actions] per environment is responsible for building that branch's image and pushing to [GitHub Container
14-
Registry (GHCR)][ghcr].
15-
16-
GitHub POSTs a [webhook][gh-webhooks] to the Azure Web App when an [image is published to GHCR][gh-webhook-event], telling
17-
Azure to restart the app and pull the latest image.
13+
The [Deploy](deploy-workflow) workflow is responsible for building that branch's image and pushing to [GitHub Container
14+
Registry (GHCR)][ghcr]. It also deploys to the Azure Web App, telling Azure to restart the app and pull the latest image.
1815

1916
You can view what Git commit is deployed for a given environment by visitng the URL path `/static/sha.txt`.
2017

@@ -34,9 +31,7 @@ Docker images for each of the deploy branches are available from GitHub Containe
3431
[oet]: https://techblog.cdt.ca.gov/2020/06/cdt-taking-the-lead-in-digital-transformation/
3532
[app-service-containers]: https://docs.microsoft.com/en-us/azure/app-service/configure-custom-container
3633
[app-service]: https://docs.microsoft.com/en-us/azure/app-service/overview
34+
[deploy-workflow]: https://github.com/cal-itp/benefits/blob/dev/.github/workflows/deploy.yml
3735
[dockerfile]: https://github.com/cal-itp/benefits/blob/dev/Dockerfile
3836
[az-webapp]: https://azure.microsoft.com/en-us/services/app-service/containers/
39-
[gh-actions]: https://docs.github.com/en/actions
40-
[gh-webhook-event]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package
41-
[gh-webhooks]: https://docs.github.com/en/github-ae@latest/developers/webhooks-and-events/webhooks
4237
[ghcr]: https://github.com/features/packages

0 commit comments

Comments
 (0)