Skip to content

Commit

Permalink
updated relative dirs dbt project config
Browse files Browse the repository at this point in the history
  • Loading branch information
luutuankiet committed Aug 25, 2024
1 parent 54f42ec commit 950d91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/start-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: mv googlecredentials.json /tmp || true

- name: Locate dbt_project.yml
run: echo "PROJECT_DIR=$(find . -name "dbt_project.yml" | sed 's/dbt_project.yml//g')" >> $GITHUB_ENV
run: echo "PROJECT_DIR=$(find ./dbt_project -name "dbt_project.yml" | sed 's/dbt_project.yml//g')" >> $GITHUB_ENV

- name: Get lightdash version
uses: sergeysova/jq-action@v2
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
LIGHTDASH_URL: ${{ secrets.LIGHTDASH_URL }}
GOOGLE_APPLICATION_CREDENTIALS: '/tmp/googlecredentials.json'

run: lightdash start-preview --project-dir "$PROJECT_DIR" --profiles-dir . --name ${GITHUB_REF##*/}
run: lightdash start-preview --project-dir "$PROJECT_DIR" --profiles-dir ./dbt_project --name ${GITHUB_REF##*/}

- uses: jwalton/gh-find-current-pr@v1
id: finder
Expand Down

0 comments on commit 950d91d

Please sign in to comment.