From 11657392e6a07f7240aab50acd3239561c41d99f Mon Sep 17 00:00:00 2001 From: kingjinyong <163799220+kingjinyong@users.noreply.github.com> Date: Wed, 15 Jan 2025 22:02:26 +0900 Subject: [PATCH] Update ci-cd.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci-cd 구축 중 --- .github/workflows/ci-cd.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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