Skip to content

Commit

Permalink
simplified render-qmd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmanke committed Apr 4, 2024
1 parent b863f55 commit 441bb85
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/render-qmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ run-name: ${{ github.actor }} is testing

on:
push:
branches: ["2024.04"]

branches: ["thomas"]

jobs:

Expand Down Expand Up @@ -54,27 +53,9 @@ 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 }}
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: |
./docs
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 441bb85

Please sign in to comment.