Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
secret key variable 추가
  • Loading branch information
aacara authored Nov 21, 2023
1 parent 38518ac commit 86ebda3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- feat/#94
env:
S3_BUCKET_NAME: s3-test01bucket
CODE_DEPLOY_APPLICATION_NAME: CODE-DEPLOY-TEST01
S3_BUCKET_NAME: s3-test02bucket
CODE_DEPLOY_APPLICATION_NAME: CODE-DEPLOY-TEST02
CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: CODE-DEPLOY-GROUP

jobs:
Expand Down Expand Up @@ -51,3 +51,13 @@ jobs:
--application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \
--deployment-group-name ${{ env.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
--s3-location bucket=$S3_BUCKET_NAME,bundleType=zip,key=$GITHUB_SHA.zip
- name: Build and Deploy
run: ./gradlew build
env:
COOKIE_NAME: ${{ secrets.COOKIE_NAME }}
COOKIE_REFRESH_NAME: ${{ secrets.COOKIE_REFRESH_NAME }}
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
MYSQL_DATABASE_PASSWORD: ${{ secrets.MYSQL_DATABASE_PASSWORD }}
MYSQL_DATABASE_URL: ${{ secrets.MYSQL_DATABASE_URL }}
MYSQL_DATABASE_USERNAME: ${{ secrets.MYSQL_DATABASE_USERNAME }}

0 comments on commit 86ebda3

Please sign in to comment.