From f5a23aab4049578d617acdef9a087d58608232c6 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Tue, 4 Apr 2023 10:07:53 -0600 Subject: [PATCH] Fix priv/repo path --- .github/workflows/test.yml | 6 +++--- mix.exs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bada14338..c0b81c40f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -222,7 +222,7 @@ jobs: with: branch: master name: db-dump - path: apps/web/priv/repo/ + path: apps/domain/priv/repo/ search_artifacts: true workflow_conclusion: completed if_no_artifact_found: fail @@ -245,7 +245,7 @@ jobs: run: | pg_dump firezone_dev \ -U postgres -h localhost \ - --file apps/web/priv/repo/structure.sql \ + --file apps/domain/priv/repo/structure.sql \ --no-acl \ --no-owner - name: Upload master branch DB dump @@ -253,7 +253,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: db-dump - path: apps/web/priv/repo/structure.sql + path: apps/domain/priv/repo/structure.sql - name: Run Seed run: mix ecto.seed acceptance-test: diff --git a/mix.exs b/mix.exs index 3f24fb1cc..cd34087b3 100644 --- a/mix.exs +++ b/mix.exs @@ -69,7 +69,7 @@ defmodule Firezone.MixProject do defp aliases do [ - "ecto.seed": ["ecto.create", "ecto.migrate", "run apps/web/priv/repo/seeds.exs"], + "ecto.seed": ["ecto.create", "ecto.migrate", "run apps/domain/priv/repo/seeds.exs"], "ecto.setup": ["ecto.create", "ecto.migrate"], "ecto.reset": ["ecto.drop", "ecto.setup"], test: ["ecto.create --quiet", "ecto.migrate", "test"],