File tree Expand file tree Collapse file tree 3 files changed +68
-2
lines changed Expand file tree Collapse file tree 3 files changed +68
-2
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [main]
4+ release :
5+ types : [published]
6+ workflow_dispatch : {}
7+
8+ name : demo-website
9+
10+ jobs :
11+ demo-page :
12+ runs-on : ubuntu-latest
13+ # Only restrict concurrency for non-PR jobs
14+ concurrency :
15+ group : quarto-publish-${{ github.event_name != 'pull_request' || github.run_id }}
16+ permissions :
17+ contents : write
18+ steps :
19+ - name : " Check out repository"
20+ uses : actions/checkout@v4
21+
22+ # To render using knitr, we need a few more setup steps...
23+ # If we didn't want the examples to use `engine: knitr`, we could
24+ # skip a few of the setup steps.
25+ - name : " Setup R"
26+ uses : r-lib/actions/setup-r@v2
27+
28+ - name : " Setup R dependencies for Quarto's knitr engine"
29+ uses : r-lib/actions/setup-r-dependencies@v2
30+ with :
31+ packages : any::knitr
32+ any::rmarkdown
33+ any::downlit
34+ any::xml2
35+ any::ggplot2
36+
37+ # install ms-corefonts for Arial font since Proxima Nova isn't available
38+ - name : " Install ms-corefonts"
39+ run : |
40+ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
41+ sudo apt install ttf-mscorefonts-installer
42+
43+ # update font cache
44+ - name : " Update font cache"
45+ run : sudo fc-cache -fv
46+
47+ # Back to our regularly scheduled Quarto output
48+ - name : " Set up Quarto"
49+ uses : quarto-dev/quarto-actions/setup@v2
50+ with :
51+ version : " pre-release"
52+ tinytex : true # required for PDF reports
53+
54+ - name : Add extension directly into demos
55+ working-directory : ./docs/demos
56+ run : |
57+ quarto add AAGI-AUS/AAGIQuarto --no-prompt
58+
59+ - name : Publish to GitHub Pages (and render)
60+ uses : quarto-dev/quarto-actions/publish@v2
61+ with :
62+ target : gh-pages
63+ path : docs
Original file line number Diff line number Diff line change 1+ .PHONY : asset-revealjs asset-docx asset-report asset-pdf-short-report assets help
2+ .DEFAULT_GOAL := help
3+
4+ asset-revealjs : # # Render reveal.js Slides
5+ quarto render aagi_cu_trial_design.qmd --output-dir assets
Original file line number Diff line number Diff line change @@ -14,5 +14,3 @@ You will need [Quarto](https://quarto.org) installed locally to rebuild the slid
1414Then, the ` aagi_cu_trial_design.qmd ` can be knit to create ` aagi_cu_trial_design.html ` .
1515
1616[ Playwright.py] ( https://playwright.dev/python/docs/intro ) was used to generate ` aagi_cu_trial_design.pdf ` for printed handouts via ` render_pdf.py ` .
17-
18-
You can’t perform that action at this time.
0 commit comments