File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 4343 with :
4444 file : ./Dockerfile
4545 push : true
46- tags : ghcr.io/maslianok /gitranks-ui:latest
46+ tags : ghcr.io/gitranks /gitranks-ui:latest
4747 build-args : |
48- MONGODB_URI_AUTH=mongodb://localhost:27020/auth
48+ MONGODB_URI_AUTH=${{ secrets.MONGODB_URI_AUTH }}
4949
5050 # 4. SSH to droplet and deploy
5151 - name : SSH to droplet and deploy
Original file line number Diff line number Diff line change 11// This approach is taken from https://github.com/vercel/next.js/tree/canary/examples/with-mongodb
22import { MongoClient , ServerApiVersion } from 'mongodb' ;
33
4- console . log ( '88888888888aaaaaaaaaaaaaa' , process . env . MONGODB_URI_AUTH ) ;
5-
64if ( ! process . env . MONGODB_URI_AUTH ) {
75 throw new Error ( 'Invalid/Missing environment variable: "MONGODB_URI_AUTH"' ) ;
86}
You can’t perform that action at this time.
0 commit comments