Skip to content

Commit

Permalink
debugging on prod gang
Browse files Browse the repository at this point in the history
  • Loading branch information
greg6775 committed Sep 4, 2023
1 parent 428ecc1 commit 0a0a156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0a0a156

Please sign in to comment.