Skip to content

Commit

Permalink
📝 docs: CD 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Jan 7, 2024
1 parent b755ee2 commit 8c71a30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ jobs:
docker push yejunpark1/motivoo-server
- name: deploy.sh EC2 인스턴스로 전송
uses: appleboy/ssh-action@master
uses: appleboy/scp-action@master
with:
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
uses: appleboy/scp-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 8c71a30

Please sign in to comment.