From 868831265804e65aedb463ebac1778efc9c25ce1 Mon Sep 17 00:00:00 2001 From: key Date: Thu, 30 May 2024 23:53:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 843f0f1..d97f937 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -42,7 +42,7 @@ jobs: username: ${{ secrets.REMOTE_SSH_USERNAME }} key: ${{ secrets.REMOTE_SSH_KEY }} source: ./output/* - target: ./ + target: app/ # 서버에서 Docker 이미지 빌드 및 실행 - name: Deploy to Server @@ -52,6 +52,7 @@ jobs: username: ${{ secrets.REMOTE_SSH_USERNAME }} key: ${{ secrets.REMOTE_SSH_KEY }} script: | + cd ./app echo "SPRING_DATASOURCE_URL=${{ secrets.SPRING_DATASOURCE_URL }}" >> ./backend.env echo "SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME }}" >> ./backend.env echo "SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD }}" >> ./backend.env