Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadahmed-01 authored Feb 28, 2024
1 parent 9d93b2d commit 8626ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
- name: SSH into server and deploy Docker image
uses: appleboy/ssh-action@master
with:
host: 143.198.239.1
host: 64.23.148.21
username: root
key: ${{ secrets.SSH_KEY }}
script: |
apt update && apt install docker.io -y
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASS }}
docker ps -aq | xargs docker stop | xargs docker rm
docker run -d -p 5000:5000 muhammadahmed1127/instagram-clone:backend-1.0
docker run -d -p 5000:3001 muhammadahmed1127/instagram-clone:backend-1.0

0 comments on commit 8626ce7

Please sign in to comment.