working on testing connection to pg
This commit is contained in:
@@ -3,7 +3,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
types: [closed]
|
#types: [closed]
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
if: gitea.event.pull_request.merged == true
|
if: gitea.event.pull_request.merged == true
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ const database = {
|
|||||||
port: parseInt(process.env.DB_PORT, 10),
|
port: parseInt(process.env.DB_PORT, 10),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(database)
|
||||||
|
|
||||||
export const pool = new Pool(database)
|
export const pool = new Pool(database)
|
||||||
|
|
||||||
export const jwtEnv = {
|
export const jwtEnv = {
|
||||||
|
|||||||
Reference in New Issue
Block a user