From 0a0a1569d4b1661476624a313c387fae60fc8482 Mon Sep 17 00:00:00 2001 From: GregTCLTK Date: Mon, 4 Sep 2023 22:03:29 +0200 Subject: [PATCH] debugging on prod gang --- .github/workflows/publish.yml | 4 ++-- db.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 586b7ea..b95c745 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,13 +29,13 @@ jobs: export DENO_INSTALL="/home/runner/.deno" export PATH="${DENO_INSTALL}/bin:${PATH}" mkdir -p "${DENO_INSTALL}" - deno upgrade --version 1.34.1 || ( + deno upgrade || ( curl -fsSL https://deno.land/x/install/install.sh > "${DENO_INSTALL}/.sh"; sh "${DENO_INSTALL}/.sh" ) echo "DENO_INSTALL=${DENO_INSTALL}" >> $GITHUB_ENV echo "PATH=${PATH}" >> $GITHUB_ENV - deno upgrade --version 1.34.1 + deno upgrade - name: fetch any uncached dependencies run: | diff --git a/db.ts b/db.ts index 586e97c..9aabf81 100644 --- a/db.ts +++ b/db.ts @@ -6,7 +6,7 @@ await load({ }); export const mongoClient = new MongoClient(); - +console.log(Deno.env.get("DB_URL")) await mongoClient.connect(Deno.env.get("DB_URL")!); const db = mongoClient.database("one_bbn");