Skip to content

Commit 0574c7c

Browse files
committed
Modified CI and env script
1 parent 88fee62 commit 0574c7c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci-action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ on:
44
branches:
55
- main
66
- production
7-
- bugfix/global
87
pull_request:
98
branches:
109
- main
1110
- production
12-
- bugfix/global
1311
jobs:
1412
build:
1513
name: Build and test

scripts/environments.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ read -p "Postgres port (default: 5432): " POSTGRES_PORT
3131
POSTGRES_PORT=${POSTGRES_PORT:-5432}
3232
echo "POSTGRES_PORT=$POSTGRES_PORT" >> .env
3333

34-
read -p "Postgres domain (default: localhost): " POSTGRES_HOST
34+
read -p "Postgres host (default: localhost): " POSTGRES_HOST
3535
POSTGRES_HOST=${POSTGRES_HOST:-localhost}
3636
echo "POSTGRES_HOST=$POSTGRES_HOST" >> .env
3737

@@ -117,7 +117,7 @@ echo "" >> .env
117117
# Postgres URL
118118
# ============================
119119
echo "# Postgres" >> .env
120-
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_DOMAIN}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public"
120+
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public"
121121
echo "DATABASE_URL=\"$DATABASE_URL\"" >> .env
122122

123123
echo ""

0 commit comments

Comments
 (0)