diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c953320..3be940d 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -49,6 +49,17 @@ jobs: cat ./.env ls ./ + # .gitignore에 있는 properties파일 추가 + - name: Add prod_properties + run: | + mkdir ./src/main/resources + touch ./src/main/resources/application.properties + touch ./src/main/resources/application-oauth.properties + touch ./src/main/resources/application-private.properties + echo "${{ secrets.PROPERTIES }}" > ./src/main/resources/application.properties + echo "${{ secrets.OAUTHPROPERTIES }}" > ./src/main/resources/application.properties + echo "${{ secrets.PRIVATEPROPERTIES }}" > ./src/main/resources/application.properties + # Transfer Docker Compose File to EC2 - name: Transfer Docker Compose to EC2 uses: appleboy/scp-action@v0.1.7