Skip to content

Commit

Permalink
[chore] : GitHub Actions 스크립트를 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbang105 committed Dec 11, 2024
1 parent a200c14 commit 611da8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
- name: ⏱️Docker hub에서 pull 후 deploy합니다.
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.GCP_SERVER_HOST }}
username: ${{ secrets.GCP_SERVER_USERNAME }}
key: ${{ secrets.GCP_SSH_KEY }}
host: ${{ secrets.EC2_DEPLOY_SERVER_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_KEY }}
script: |
sudo chmod 777 ./deploy.sh
./deploy.sh
sudo docker image prune -f
sudo docker image prune -f

0 comments on commit 611da8e

Please sign in to comment.