Skip to content

Commit

Permalink
post(new): shinylive & quartolive
Browse files Browse the repository at this point in the history
  • Loading branch information
YONGHUNI committed Oct 18, 2024
1 parent a334f45 commit 251461c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ jobs:

- run: sudo cp -f /opt/hostedtoolcache/pandoc/3.5/x64/pandoc /opt/quarto/bin/tools/

- name: "Setup R dependencies for Quarto's knitr engine"
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
cran::[email protected]

- name: check Quarto
run: |
(ls -lrt /opt/quarto/bin/tools/) || echo "chk dir"
Expand All @@ -84,7 +78,17 @@ jobs:
- name: install quarto dependency
run: quarto add quarto-ext/shinylive --no-prompt && quarto add r-wasm/quarto-live --no-prompt


#- name: Install quarto extension
#run: quarto install --no-prompt extension schochastics/academicons
- name: Quarto render - to inspect rendering cache
uses: quarto-dev/quarto-actions/render@v2 #quarto render ./posts/ --use-freezer

- name: Push Quarto render cache if diff detected
run: |
git config --global user.name 'YONGHUNI'
git config --global user.email '[email protected]'
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
Expand Down

0 comments on commit 251461c

Please sign in to comment.