To deploy an app, workflows appDeployDev
and appDeployProd
deploy to AWS.
-
appDeployDev
: deploy the application dev build to AWS each time a commit is pushed in the main branch. The version is set tolatest
. -
appDeployProd
: deploy the application production build to AWS each time a tag is pushed. The version is set tolatest
.
Depending on the framework and needs, you will need to rename some variables. For example, for React applications, you will rename APPS_DEVELOPER_ID
to REACT_APP_APPS_DEVELOPER_ID
.
For each app, you will need to set in the repository's secrets
APP_ID
The published app will be available at https://<BUCKET>/<APPS_DEVELOPER_ID>/<APP_ID>/<VERSION>/index.html
.