Skip to content

Commit

Permalink
Wrap environment variables default values in quotes on deploy-eks wor…
Browse files Browse the repository at this point in the history
…kflow
  • Loading branch information
andrewlod committed Apr 3, 2024
1 parent 47c03b8 commit 76a0442
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ on:
workflow_dispatch:

env:
ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY || 'authentication-api' }}
EKS_CLUSTER_NAME: ${{ vars.EKS_CLUSTER_NAME || 'default-cluster' }}
AWS_REGION: ${{ vars.AWS_REGION || 'us-east-1' }}
IMAGE_NAME: ${{ vars.IMAGE_NAME || 'authentication-api' }}
NODE_ENV: ${{ vars.NODE_ENV || 'development' }}
LOG_STRATEGY: ${{ vars.LOG_STRATEGY || 'CONSOLE' }}
SECRETS_LIST: ${{ vars.SECRETS_LIST || 'none' }}
ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY || '"authentication-api"' }}
EKS_CLUSTER_NAME: ${{ vars.EKS_CLUSTER_NAME || '"default-cluster"' }}
AWS_REGION: ${{ vars.AWS_REGION || '"us-east-1"' }}
IMAGE_NAME: ${{ vars.IMAGE_NAME || '"authentication-api"' }}
NODE_ENV: ${{ vars.NODE_ENV || '"development"' }}
LOG_STRATEGY: ${{ vars.LOG_STRATEGY || '"CONSOLE"' }}
SECRETS_LIST: ${{ vars.SECRETS_LIST || '"none"' }}

PASSWORD_SALT: ${{ secrets.PASSWORD_SALT || '10' }}
PASSWORD_SALT: ${{ secrets.PASSWORD_SALT || '"10"' }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
JWT_EXPIRE_MINUTES: ${{ secrets.JWT_EXPIRE_MINUTES || '60' }}
JWT_COOKIE_KEY: ${{ secrets.JWT_COOKIE_KEY || 'JWT_COOKIE' }}
JWT_EXPIRE_MINUTES: ${{ secrets.JWT_EXPIRE_MINUTES || '"60"' }}
JWT_COOKIE_KEY: ${{ secrets.JWT_COOKIE_KEY || '"JWT_COOKIE"' }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}

jobs:
Expand Down

0 comments on commit 76a0442

Please sign in to comment.