I have a dbt project tracked on Github and would like to host the documentation on Netlify. I was wondering if it's possible to define a Github Action that builds the documentation (dbt docs generate
) on push to master and then deploys the documentation to Netlify? If so, what would be the best way to achieve this?
0
votes
1 Answers
0
votes
Highly recommend the following sources for you:
Peter's recommendation looks like it is a cron operation to first build the dbt docs site and then simply copy the directory to the netlify site via the cli.
Hopefully that gets you started for now, will edit with a bash script to follow those steps later when I have time (assuming it still works, post from 2018).