MetricsDAO / harmony_dbt

DBT Project for the Harmony Blockchain
12 stars 8 forks source link

[Documentation] Using netlify to generate documentation #103

Closed antonyip closed 2 years ago

antonyip commented 2 years ago

https://discourse.getdbt.com/t/publishing-dbt-docs-to-netlify/121

D0R11 commented 2 years ago

Hello, taking this issue. Created an account and did the steps indicated in the link you've provided. Deploying the docs as we speak.

antonyip commented 2 years ago

Cool. Let me know how it goes.

D0R11 commented 2 years ago

https://wondrous-maamoul-10f823.netlify.app/#!/overview

Works well as intended. Are we going to add a domain for this or is this good?

antonyip commented 2 years ago
D0R11 commented 2 years ago

@antonyip Sorry I just got back now, pretty busy schedule.

The site I sent was just static so I'll remove it for now.

We can proceed with continuous development by linking this repository to Netlify and then creating a netlify.toml file wherein it is indicated there which subdirectory will only be deployed to Netlify. With continuous development, the website will update with the latest commit.

D0R11 commented 2 years ago

I forgot to add,

the command dbt docs generate will be the command in place so that it will be run everytime a commit has been pushed to master.

reference: https://answers.netlify.com/t/support-guide-what-if-my-project-folder-is-not-the-root-of-my-git-repository/123

D0R11 commented 2 years ago

@antonyip sent a request to link harmony_dbt as a git repo in Netlify for issue 103

image

antonyip commented 2 years ago

@antonyip sent a request to link harmony_dbt as a git repo in Netlify for issue 103

image

@drakedanner could you handle this? I’m not mdao admin so can’t follow up.

D0R11 commented 2 years ago

Hello, any updates on this? @drakedanner

Thanks!