Skip to content

Reset Seed (Stage)

Reset Seed (Stage) #4

Workflow file for this run

name: Reset Seed (Development)
on: workflow_dispatch
jobs:
reset-seed:
name: Reset Seed
runs-on: self-hosted
steps:
- name: Load DATABASE_URL From Existing .env.development
run: export DATABASE_URL=$(grep "^DATABASE_URL=" .env.development | cut -d '=' -f2)
- name: Run Reset Seed Command
run: docker exec backend-client npx prisma migrate reset -f
env:
DATABASE_URL: $DATABASE_URL