Skip to content

Commit

Permalink
update in docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant-flick committed Oct 1, 2024
1 parent b3a583a commit 0934397
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 user-app || true
sudo docker rm user-app || true
sudo docker run -d --name user-app -p 3001:3001 \
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 \
-e DATABASE_URL=${{secrets.DATABASE_URL}} \
-e NEXTAUTH_URL=${{secrets.NEXTAUTH_URL}} \
-e NEXTAUTH_SECRET=${{secrets.NEXTAUTH_SECRET}} \
Expand Down

0 comments on commit 0934397

Please sign in to comment.