diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8b74a08..b05a893 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,8 +20,10 @@ jobs: - name: Install Dependencies run: npm i - - name: Create database file - run: DATABASE_URL="file:./dev.db" npm run db:push + - name: Reset and Push Database Migrations + run: npx prisma migrate reset && npm run db:push + env: + - DATABASE_URL: "" - name: Build Dist run: npm run build \ No newline at end of file