Skip to content

Commit

Permalink
modified EC2 workflows2
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-wt committed Dec 21, 2024
1 parent 446b9ed commit 9332ce0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
sudo docker pull akashwt/myapp:latest
sudo docker stop myapp || true
sudo docker rm myapp || true
sudo docker run -d --name myapp -p 3005:3000 \
-e JWT_SECRET=kjcksfsajkfaodila \
-e NEXTAUTH_URL=http://localhost:3001 \
-e DATABASE_URL="postgresql://neondb_owner:Qj60AogDBaUq@ep-billowing-brook-a5ez1pcm-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require" \
--restart always \
akashwt/myapp:latest
sudo docker run -d --name myapp -p 3005:3001 \
-e JWT_SECRET=${{ secrets.JWT_SECRET }} \
-e NEXTAUTH_URL=http://localhost:3001 \
-e DATABASE_URL=${{ secrets.DATABASE_URL }} \
--restart always \
akashwt/myapp:latest

0 comments on commit 9332ce0

Please sign in to comment.