diff --git a/.github/workflows/quarto_render.yml b/.github/workflows/quarto_render.yml index e6d5269..8115a50 100644 --- a/.github/workflows/quarto_render.yml +++ b/.github/workflows/quarto_render.yml @@ -68,22 +68,10 @@ jobs: run: | quarto render --profile evaluate_code - - name: Clean up - shell: bash -l {0} - run: | - rm -rf !("_docs") - rm .gitignore !("_docs") - rm -rf .quarto !("_docs") - rm .gitmodules !("_docs") - rm .renvignore !("_docs") - rm .Rprofile !("_docs") - rm -rf .github !("_docs") - mv _docs/* . - rm -rf _docs - + - name: Deploy to target branch uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: "render/main" - publish_dir: . \ No newline at end of file + publish_dir: _docs \ No newline at end of file