Skip to content

Commit

Permalink
Update docker command for user-app deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant-flick committed Oct 1, 2024
1 parent 0934397 commit 030da3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
key: ${{secrets.SSH_KEY}}
script: |
sudo docker pull prashantflick/paytm-turbo-user:latest
sudo docker stop paytm-turbo-user || true
sudo docker rm paytm-turbo-user || true
sudo docker run -d --name paytm-turbo-user -p 3001:3001 \
sudo docker stop user-paytm || true
sudo docker rm user-paytm || true
sudo docker run -d --name user-paytm -p 3001:3001 \
-e DATABASE_URL=${{secrets.DATABASE_URL}} \
-e NEXTAUTH_URL=${{secrets.NEXTAUTH_URL}} \
-e NEXTAUTH_SECRET=${{secrets.NEXTAUTH_SECRET}} \
Expand Down

0 comments on commit 030da3b

Please sign in to comment.