Skip to content

Commit a835ac4

Browse files
committed
2025.02.19 fix repository url
1 parent 964645d commit a835ac4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
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

lib/mongo-client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// This approach is taken from https://github.com/vercel/next.js/tree/canary/examples/with-mongodb
22
import { MongoClient, ServerApiVersion } from 'mongodb';
33

4-
console.log('88888888888aaaaaaaaaaaaaa', process.env.MONGODB_URI_AUTH);
5-
64
if (!process.env.MONGODB_URI_AUTH) {
75
throw new Error('Invalid/Missing environment variable: "MONGODB_URI_AUTH"');
86
}

0 commit comments

Comments
 (0)