refactor: move database connection variables to workflow environment definition
This commit is contained in:
@@ -11,6 +11,8 @@ env:
|
|||||||
DB_NAME: piku_test_db
|
DB_NAME: piku_test_db
|
||||||
DB_USER: test
|
DB_USER: test
|
||||||
DB_PASSWORD: password123
|
DB_PASSWORD: password123
|
||||||
|
DB_HOST: postgres
|
||||||
|
DB_PORT: 5432
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-environment:
|
setup-environment:
|
||||||
@@ -93,8 +95,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup DB connection Variables
|
- name: Setup DB connection Variables
|
||||||
run: |
|
run: |
|
||||||
export DB_HOST=postgres
|
|
||||||
export DB_PORT=5432
|
|
||||||
cp ../.env.example ../.env
|
cp ../.env.example ../.env
|
||||||
uv sync
|
uv sync
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user