Skip to content

Commit

Permalink
Added DB url to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Danish-Belal committed Aug 12, 2024
1 parent 7b7af5c commit 5a8a5c8
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 @@ -42,12 +42,12 @@ jobs:
sudo docker pull danish19092001/venmo-clone:latest
sudo docker stop web-app || true
sudo docker rm web-app || true
sudo docker run -d --name web-app -p 3005:3000 danish19092001/venmo-clone:latest
sudo docker run -e DATABASE_URL ${{ secrets.DATABASE_URL }} --restart-always -d --name web-app -p 3005:3000 danish19092001/venmo-clone:latest
# server {
# server_name userapp.100xdevs.com;
# server_name venmo.score-book.com;
# location / {
# proxy_pass http://localhost:3005;
# proxy_pass http://localhost:3001;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
Expand Down

0 comments on commit 5a8a5c8

Please sign in to comment.