-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,15 +52,15 @@ jobs: | |
|
||
#- name: Install quarto extension | ||
#run: quarto install --no-prompt extension schochastics/academicons | ||
- name: Quarto render all locally | ||
- name: Quarto render - to inspect rendering cache | ||
run: quarto render . --use-freezer | ||
|
||
- name: Push Quarto freeze | ||
- name: Push Quarto render cache if diff detected | ||
run: | | ||
ls -lrt | ||
git config --global user.name 'YONGHUNI' | ||
git config --global user.email '[email protected]' | ||
git diff-index --quiet --cached HEAD || (git add _freeze && git commit -m "[BOT]Quarto Freeze by GH actions" && git push) | ||
git add _freeze | ||
( git commit -m "[BOT]Quarto Freeze by GH actions" && git push ) || echo "Nothing to Push.. Skipping the Push Process" | ||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
|