Skip to content

Commit 953708b

Browse files
committed
feat: dev fix
1 parent 5f4a12b commit 953708b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
echo "DB_HOST=${{ secrets.DB_HOST }}" >> .env
3535
echo "DB_USER=${{ secrets.DB_USER }}" >> .env
36-
echo "DB_PASSWORD=${{ secrets.DEV_DB_PASSWORD }}" >> .env
36+
echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> .env
3737
echo "DB_DATABASE=${{ secrets.DEV_DB_DATABASE }}" >> .env
3838
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
3939
echo "JWT_EXPIRATION=${{ secrets.JWT_EXPIRATION }}" >> .env

.github/workflows/prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ jobs:
6868
aws-region: ap-northeast-2
6969

7070
- name: upload to S3
71-
run: aws s3 cp --region ap-northeast-2 ./build.zip s3://oodd-prod-api-bucket/
71+
run: aws s3 cp --region ap-northeast-2 ./build.zip s3://oodd-api-bucket/prod/
7272

7373
- name: deploy with AWS codeDeploy
7474
run: aws deploy create-deployment
7575
--application-name nestjs-app-prod
7676
--deployment-config-name CodeDeployDefault.OneAtATime
7777
--deployment-group-name nestjs-app-prod-group
78-
--s3-location bucket=oodd-prod-api-bucket,bundleType=zip,key=build.zip
78+
--s3-location bucket=oodd-api-bucket,bundleType=zip,key=prod/build.zip

0 commit comments

Comments
 (0)