diff --git a/.github/workflows/dbt_docs_update.yml b/.github/workflows/dbt_docs_update.yml index cb34c4c..332a653 100644 --- a/.github/workflows/dbt_docs_update.yml +++ b/.github/workflows/dbt_docs_update.yml @@ -56,7 +56,7 @@ jobs: - name: move files to docs directory run: | mkdir -p ./docs - cp -r target/* docs/ + cp target/{catalog.json,manifest.json,index.html} docs/ - name: clean up target directory run: dbt clean @@ -72,6 +72,7 @@ jobs: git config user.email "abc@xyz" git config user.name "github-actions" git commit -am "Auto-update docs" + - name: push changes to docs run: | git push -f --set-upstream origin docs \ No newline at end of file