question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub action for `lightdash deploy` should work even if my dbt project isn't in my root directory

See original GitHub issue

Description

Right now, if I have a dbt project that I’m trying to connect our lightdash deploy GitHub action to and it’s not in the root repo (i.e. it’s in my-repo/dbt/models instead of dbt/models), then I get this error:

invalid project dir

We should add some default folders, or use a find script to locate the yaml file inside the repo so that this error doesn’t happen.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ZeRegocommented, Oct 3, 2022

@rephus that looks good 👍 I would go with that right now and ignore the cases of multiple dbt projects in the same repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

new project creation fails when dbt folders are not in root #1414
Describe the bug I have modified my ./dbt_profiles.yml config to group all dbt folders in a subfolder model-paths: [ "dbt/models" ] ...
Read more >
How to Deploy dbt to Production using GitHub Actions
Setup a dbt profile for GitHub Actions​​ Create a profiles. yml file at the root of your repository. Every time it runs, dbt...
Read more >
Sync your changes with Lightdash deploy | Documentation
lightdash deploy syncs the changes in your dbt project to Lightdash. ... If you've connected Lightdash to GitHub, you can setup a github...
Read more >
Scheduling dbt Core with Github Actions - DEV Community ‍ ‍
I have been using dbt more and more as my main tool for data ... Create .github/workflows/ directory in the root of your...
Read more >
dbt at scale on Google Cloud - Part 3
As always, deploy your resource via Terraform and you have to use the google_composer_environment. Deployment of Cloud Composer in fully private mode with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found