Skip to content

Commit

Permalink
chore: edit file about ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
cyzlcyzl authored Dec 15, 2023
1 parent da55683 commit dbaa332
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
docker push ${{ secrets.DOCKER_REPO }}
## 서버에 접속하여 도커 이미지를 pull 받고 실행하기
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.6
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ec2-user
key: ${{ secrets.PRIVATE_KEY }}
port: 22
port: ${{ secrets.PORT }}
script: |
sudo docker stop prod-server
sudo docker rm prod-server
Expand Down

0 comments on commit dbaa332

Please sign in to comment.