Deploy Application Action - CDCgov/prime-simplereport GitHub Wiki
Deploy SimpleReport Application
The deployment process involves promoting API from the secondary slot to production, verifying its readiness, and deploying the client/frontend application to Azure storage. The process ensures the application is fully operational and available to end users.
Inputs
This action requires the following inputs:
- deploy-env: The environment being deployed (e.g. "prod", "dev" or "demo"). This input field is mandatory.
- client-tarball: The path to the tar file containing the client code to deploy. This input field is mandatory.
Usage
uses: ./.github/actions/deploy-application
with:
deploy-env: 'dev'
client-tarball: 'client.tgz'
Steps
The action runs the following steps:
Unpack client
: Unpacks the client code from the tarball.Promote API to production and verify that it is ready
: Promotes the API to production and verifies its readiness for deployment using make commands.Check for production app readiness
: Checks if the production app is ready for deployment.Deploy frontend app
: Deploys the frontend app by uploading the client code to Azure Blob Storage.
Outputs
This action has no outputs.