Fix: .env
file is used by the Build Docker Production image and Deploy to AWS workflows
#353
Labels
.env
file is used by the Build Docker Production image and Deploy to AWS workflows
#353
Issue
The env variable
PORT
is not set in the workflow which results in falling back on the.env
file. This is a problem if we want to remove the.env
file from the source control.Expected
The GitHub workflows should not depend on the
.env
file.Solution
add the
PORT=80
env variable in the Build Docker Production and Deploy workflows in the following files:.template/addons/github/.github/workflows/test_production_build.yml.tt
.template/addons/github/.github/workflows/deploy_heroku.yml.tt
Example:
The text was updated successfully, but these errors were encountered: