Skip to content

Commit

Permalink
⚡️ fix: CD 파일 전송 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Jan 7, 2024
1 parent 1b91289 commit b755ee2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
host: ${{ secrets.RELEASE_SERVER_IP }}
username: ${{ secrets.RELEASE_SERVER_USER }}
key: ${{ secrets.RELEASE_SERVER_KEY }}
source: "./scripts/deploy.sh"
target: "/home/ubuntu/"
source: ./scripts/deploy.sh
target: /home/ubuntu/

- name: docker-compose.yml EC2 인스턴스로 전송
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.RELEASE_SERVER_IP }}
username: ${{ secrets.RELEASE_SERVER_USER }}
key: ${{ secrets.RELEASE_SERVER_KEY }}
source: "./docker-compose.yml"
target: "/home/ubuntu/"
source: ./docker-compose.yml
target: /home/ubuntu/

deploy-cd: # job#2
needs: deploy-ci
Expand Down

0 comments on commit b755ee2

Please sign in to comment.