Manual deployment (⚠️ handle with care)
This project utilizes two GitHub dispatch workflows to manage manual deployments: dispatch-apps.yml
and dispatch-infrastructure.yml
. These workflows allow for manual triggers of deployments through GitHub Actions, providing flexibility for deploying specific versions to designated environments.
Using dispatch-apps.yml
The dispatch-apps.yml
workflow is responsible for deploying applications. To trigger this workflow:
- Navigate to the Actions tab in the GitHub repository.
- Select the
Dispatch Apps
workflow. - Click on "Run workflow".
- Fill in the required inputs:
- environment: Choose the target environment (
test
,staging
, orprod
). - version: Specify the version to deploy. Could be git tag or a docker-tag published in packages.
- runMigration (optional): Indicate whether to run database migrations (
true
orfalse
).
- environment: Choose the target environment (
This workflow will handle the deployment of applications based on the specified parameters, ensuring that the correct version is deployed to the chosen environment.
Using dispatch-infrastructure.yml
The dispatch-infrastructure.yml
workflow is used for deploying infrastructure components. To use this workflow:
- Go to the Actions tab in the GitHub repository.
- Select the
Dispatch Infrastructure
workflow. - Click on "Run workflow".
- Provide the necessary inputs:
- environment: Select the environment you wish to deploy to (
test
,staging
, orprod
). - version: Enter the version to deploy, which should correspond to a git tag.
- environment: Select the environment you wish to deploy to (
This workflow facilitates the deployment of infrastructure to the specified environment, using the version details provided.