diff --git a/.github/workflows/update-docs-site.yml b/.github/workflows/update-docs-site.yml index f6c6330c..ab59299c 100644 --- a/.github/workflows/update-docs-site.yml +++ b/.github/workflows/update-docs-site.yml @@ -42,18 +42,9 @@ jobs: - name: Run script to update documentation 🪄 run: | - if [ -d master-docs/docs ]; then - cp -r master-docs/docs website-docs/ - else - pwd - echo "All master docs:" - ls -l - echo "All outer code:" - ls ../ - echo "No /docs directory found in master branch" - exit 1 - fi + cp -r ../master-docs/docs / python ./do-markdown-magic.py + working-directory: website-docs - name: Commit changes 🚀