-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 919 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Build and deploy to gitHub pages
name: deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Install packages
uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
packages: |
any::rmarkdown
any::ggplot2
any::tinytex
- name: Setup quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
fontawesome: true
- run: |
quarto --version
- name: Render and publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
render: true
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}