Skip to content

Commit 4f7d847

Browse files
committed
Trying to fix the deployment to avoid using protected names.
Looks like Github might be masking the STACK_NAME environment variable when it contains a term similar to a Github secret. Changed the stack names to `neoapi` and then either dev or prod.
1 parent 3b7e415 commit 4f7d847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
run: |
2020
if [[ ${{ github.ref }} == 'refs/heads/main' ]]; then
2121
echo "ENVIRONMENT=prod" >> $GITHUB_ENV
22-
echo "STACK_NAME=neotoma-api-prod" >> $GITHUB_ENV
22+
echo "STACK_NAME=neoapi-prod" >> $GITHUB_ENV
2323
else
2424
echo "ENVIRONMENT=dev" >> $GITHUB_ENV
25-
echo "STACK_NAME=neotoma-api-dev" >> $GITHUB_ENV
25+
echo "STACK_NAME=neoapi-dev" >> $GITHUB_ENV
2626
fi
2727
2828
- name: Configure AWS credentials

0 commit comments

Comments
 (0)