Skip to content

Commit

Permalink
Update render-all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Jun 26, 2024
1 parent 70e8b2f commit 1a49556
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Delete old docs/*
run: rm -rf docs/*

# Run bookdown rendering
# Run Rmd rendering
- name: Run bookdown render
id: bookdown
if: ${{needs.yaml-check.outputs.toggle_website == 'rmd' }}
Expand All @@ -67,7 +67,7 @@ jobs:
file.copy(from = 'assets', to = 'docs/assets', overwrite = TRUE)"
- name: Render quarto version
id: tocless_quarto
id: quarto
if: ${{needs.yaml-check.outputs.toggle_website == 'quarto' }}
run: Rscript -e "quarto::quarto_render('.')"

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
git remote set-url origin https://${GH_PAT}@github.com/${GITHUB_REPOSITORY}
git fetch origin
git add --force docs/*
git commit -m 'Render bookdown' || echo "No changes to commit"
git commit -m 'Render course' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git push -u origin main || echo "No changes to push"
Expand Down

0 comments on commit 1a49556

Please sign in to comment.