Skip to content

Commit

Permalink
fix: use old version deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donghyuun committed Sep 6, 2024
1 parent bad5672 commit e83c7eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ jobs:
- name: Deploy to AWS EC2
uses: appleboy/[email protected]
with:
host: ${{ secrets.AWS_HOST_IP }}
key: ${{ secrets.AWS_EC2_PRIVATE_KEY }}
host: ${{ secrets.AWS_HOST_IP }} # 인스턴스 IP
username: ${{ secrets.REMOTE_USER }} # 우분투 ID
key: ${{ secrets.AWS_EC2_PRIVATE_KEY }} # EC2 인스턴스 pem key
port: ${{ secrets.REMOTE_SSH_PORT }} # 접속 포트
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker pull ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest
Expand Down

0 comments on commit e83c7eb

Please sign in to comment.