Skip to content

Commit

Permalink
Update prod-eureka-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eojinny authored Apr 11, 2024
1 parent 2924eb4 commit b8918e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prod-eureka-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_PROD_2 }}
host: ${{ secrets.HOST_PROD_1 }}
username: ec2-user
key: ${{ secrets.PRIVATE_KEY_2 }}
key: ${{ secrets.PRIVATE_KEY_1 }}
script: |
docker pull ${{ secrets.DOCKER_USERNAME }}/eureka:latest
docker stop $(docker ps -a -q)
Expand Down

0 comments on commit b8918e1

Please sign in to comment.