Skip to content

Commit

Permalink
Parametrize EKS deployment GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlod committed Apr 2, 2024
1 parent b76b34d commit d79c44e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ on:
workflow_dispatch:

env:
ECR_REPOSITORY: authentication-api
EKS_CLUSTER_NAME: default-cluster
AWS_REGION: us-east-1
IMAGE_NAME: authentication-api
NODE_ENV: development
LOG_STRATEGY: CONSOLE
SECRETS_LIST: ""
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 || '' }}

PASSWORD_SALT: "10"
JWT_SECRET: ""
JWT_EXPIRE_MINUTES: "60"
JWT_COOKIE_KEY: "JWT_COOKIE"
DATABASE_URL: ""
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' }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}

jobs:

Expand Down

0 comments on commit d79c44e

Please sign in to comment.