Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wildcatco authored Aug 8, 2023
1 parent 2cdf9dc commit 0822877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:

env:
NODE_ENV: production
S3_BUCKET_NAME: ${{ github.head_ref == 'main' && 'gocham-files' || 'gocham-dev-files' }}
PROJECT_NAME: ${{ github.head_ref == 'main' && 'prod-gocham-service-web-react' || 'dev-gocham-service-web-react' }} # S3 버킷 내 폴더 이름입니다. 임의로 정하면 알아서 생성해줍니다.
AWS_CODE_DEPLOY_APPLICATION_NAME: ${{ github.head_ref == 'main' && 'prod-service-web-codedeploy' || 'dev-service-web-codedeploy' }}
AWS_CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: ${{ github.head_ref == 'main' && 'prod-service-web-group' || 'dev-service-web-group' }}
S3_BUCKET_NAME: ${{ github.ref == 'refs/heads/main' && 'gocham-files' || 'gocham-dev-files' }}
PROJECT_NAME: ${{ github.ref == 'refs/heads/main' && 'prod-gocham-service-web-react' || 'dev-gocham-service-web-react' }} # S3 버킷 내 폴더 이름입니다. 임의로 정하면 알아서 생성해줍니다.
AWS_CODE_DEPLOY_APPLICATION_NAME: ${{ github.ref == 'refs/heads/main' && 'prod-service-web-codedeploy' || 'dev-service-web-codedeploy' }}
AWS_CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: ${{ github.ref == 'refs/heads/main' && 'prod-service-web-group' || 'dev-service-web-group' }}


jobs:
Expand Down

0 comments on commit 0822877

Please sign in to comment.