diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 29d5e7b..eff3103 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,7 +40,10 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - + PROFILE: ${{ secrets.PROFILE }} + DB_PROD_HOST: ${{ secrets.DB_PROD_HOST }} + DB_PROD_USERNAME: ${{ secrets.DB_PROD_USERNAME }} + DB_PROD_PASSWD: ${{ secrets.DB_PROD_PASSWD }} run: | aws s3 cp \ --region ap-northeast-2 \ @@ -51,6 +54,10 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + PROFILE: ${{ secrets.PROFILE }} + DB_PROD_HOST: ${{ secrets.DB_PROD_HOST }} + DB_PROD_USERNAME: ${{ secrets.DB_PROD_USERNAME }} + DB_PROD_PASSWD: ${{ secrets.DB_PROD_PASSWD }} run: | aws deploy create-deployment \ --application-name likelion12-application \