From 8a73e0e70b253bfd5ddc84f68a7e608713731957 Mon Sep 17 00:00:00 2001 From: Diego Fernandes Date: Sun, 3 Mar 2024 14:46:02 -0300 Subject: [PATCH] ci: run seed on preview env --- .github/workflows/deploy-preview.yml | 2 +- turbo.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index a163aeb..4ca441b 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -51,7 +51,7 @@ jobs: uses: neondatabase/create-branch-action@v4 with: project_id: ${{ env.NEON_PROJECT_ID }} - parent_id: br-quiet-king-a5h32cqs + parent: preview branch_name: preview/pr-${{ github.event.number }}-${{ steps.branch-name.outputs.current_branch }} username: ${{ env.NEON_DATABASE_USERNAME }} api_key: ${{ env.NEON_API_KEY }} diff --git a/turbo.json b/turbo.json index f345411..45ed7b8 100644 --- a/turbo.json +++ b/turbo.json @@ -10,6 +10,7 @@ "db:generate": {}, "db:migrate": {}, "db:studio": {}, + "db:seed": {}, "dev": { "cache": false, "persistent": true