mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
fix: use example env for ci
This commit is contained in:
@@ -15,6 +15,8 @@ jobs:
|
||||
working-directory: ./frontend
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create .env from example
|
||||
run: cp .env.example .env
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
@@ -36,26 +38,15 @@ jobs:
|
||||
image: postgres:16-alpine
|
||||
env:
|
||||
POSTGRES_DB: piku
|
||||
POSTGRES_USER: atom
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: password123
|
||||
ports:
|
||||
- 5432:5432
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 # wait till up before starting (integrating) django app
|
||||
env:
|
||||
DB_NAME: piku
|
||||
DB_USER: atom
|
||||
DB_PASSWORD: password123
|
||||
DB_HOST: localhost
|
||||
DB_PORT: 5432
|
||||
SECRET_KEY: ci-test-secret-key
|
||||
DEBUG: True
|
||||
FRONTEND_URL: http://localhost:5173
|
||||
CORS_ALLOWED_ORIGINS: http://localhost:5173
|
||||
EMAIL_HOST: localhost
|
||||
EMAIL_PORT: 1025
|
||||
FROM_EMAIL: ci@pi-ku.app
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create .env from example
|
||||
run: cp .env.example .env
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user