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:

  1. Unpack client: Unpacks the client code from the tarball.
  2. Promote API to production and verify that it is ready: Promotes the API to production and verifies its readiness for deployment using make commands.
  3. Check for production app readiness: Checks if the production app is ready for deployment.
  4. Deploy frontend app: Deploys the frontend app by uploading the client code to Azure Blob Storage.

Outputs

This action has no outputs.