From b04ef78e7c1e069656e23623f4727077deafa0e7 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 28 Aug 2026 20:47:16 -0400 Subject: [PATCH] Move .env to correct location, update ci-cd wf file Ran successful test --- .gitea/workflows/ci-cd.yml | 4 ++-- api/{src => }/.env | 0 api/db/schema.sql | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename api/{src => }/.env (100%) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 5c95d43..fc33e4c 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -44,8 +44,8 @@ jobs: sudo chmod +x /usr/local/bin/dbmate - name: Run Migrations against Test Database - run: | - npx dbmate up + working-directory: ./api + run: npx dbmate up env: DATABASE_URL: "postgres://test_user:test_password@saber.home.lan:5433/test_db?sslmode=disable" diff --git a/api/src/.env b/api/.env similarity index 100% rename from api/src/.env rename to api/.env diff --git a/api/db/schema.sql b/api/db/schema.sql index c6bf10e..e2a99cd 100644 --- a/api/db/schema.sql +++ b/api/db/schema.sql @@ -1,7 +1,7 @@ \restrict dbmate --- Dumped from database version 18.4 (Ubuntu 18.4-1.pgdg24.04+1) --- Dumped by pg_dump version 18.4 (Ubuntu 18.4-1.pgdg24.04+1) +-- Dumped from database version 18.6 (Ubuntu 18.6-1.pgdg24.04+2) +-- Dumped by pg_dump version 18.6 (Ubuntu 18.6-1.pgdg24.04+2) SET statement_timeout = 0; SET lock_timeout = 0;