Skip to content

Commit

Permalink
fix: CD 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kalsteve committed May 30, 2024
1 parent b0a2531 commit 8688312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8688312

Please sign in to comment.