File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to Render
2+
3+ on :
4+ push :
5+ branches :
6+ - master # or your deploy branch
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Trigger Render Deploy (Frontend)
13+ run : curl "${{ secrets.RENDER_DEPLOY_HOOK_FRONTEND }}"
14+
15+ - name : Trigger Render Deploy (Backend)
16+ run : curl "${{ secrets.RENDER_DEPLOY_HOOK_BACKEND }}"
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ app.use(express.urlencoded({ extended: true }));
2424
2525app . use ( cors ( { origin : '*' } ) )
2626
27- const dbUrl = 'mongodb://localhost:27017/TaskManager' ;
28- //process.env.DB_URL ||
27+ const dbUrl = process . env . DB_URL || 'mongodb://localhost:27017/TaskManager' ;
28+ //
2929mongoose . connect ( dbUrl ) ;
3030
3131const db = mongoose . connection ;
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ VITE_FIREBASE_STORAGE_BUCKET=sap-admin-75f56.appspot.com
55VITE_FIREBASE_MESSAGING_SENDER_ID = 869658270029
66VITE_FIREBASE_APP_ID = 1:869658270029:web:7c0ed9d581218f9e773f04
77VITE_FIREBASE_MEASUREMENT_ID = G-ZTXM4DHE49
8- VITE_BASE_URL = http ://localhost:3000 /api
8+ VITE_BASE_URL = https ://sap-checklist-backend.onrender.com /api
You can’t perform that action at this time.
0 commit comments