diff --git a/.github/workflows/render-qmd.yml b/.github/workflows/render-qmd.yml index 1cd35c3..017c261 100644 --- a/.github/workflows/render-qmd.yml +++ b/.github/workflows/render-qmd.yml @@ -54,36 +54,27 @@ jobs: run: | Rscript -e '.libPaths()' - #- name: Render quarto - # continue-on-error: true # only for error tracking - #run: | - #quarto render - - #- name: Show all files in docs - #run: ls -Ral docs - - #- name: Show file contents - #run: | - #cat docs/index.html - - #- name: Upload - #uses: actions/upload-pages-artifact@v3 - #with: - #path: ./docs - - #- name: Deploy to GitHub Pages - #uses: peaceiris/actions-gh-pages@v3 - #if: ${{ !env.ACT }} - #with: - #github_token: ${{ secrets.GITHUB_TOKEN }} - #publish_dir: | - #./docs - - name: Set up Quarto - uses: quarto-dev/quarto-actions/setup@v2 - - - name: Render and Publish - uses: quarto-dev/quarto-actions/publish@v2 + - name: Render quarto + #continue-on-error: true # only for error tracking + run: | + quarto render + + - name: Show all files in docs + run: ls -Ral docs + + - name: Show file contents + run: | + cat docs/index.html + + - name: Upload + uses: actions/upload-pages-artifact@v3 + with: + path: ./docs + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + if: ${{ !env.ACT }} with: - target: gh-pages - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: | + ./docs