-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (54 loc) · 1.75 KB
/
rebuild_site.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: rebuild-slides
on:
push:
branches: [main]
workflow_dispatch:
jobs:
rebuild-slides:
name: rebuild-slides
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: freeze
path: _freeze
- name: Install System Dependencies
run: |
sudo apt update
sudo apt install -y cmake
sudo apt install -y gdal-bin
sudo apt install -y git
sudo apt install -y libcurl4-openssl-dev
sudo apt install -y libfontconfig1-dev
sudo apt install -y libfreetype6-dev
sudo apt install -y libfribidi-dev
sudo apt install -y libgdal-dev
sudo apt install -y libgeos-dev
sudo apt install -y libglpk-dev
sudo apt install -y libharfbuzz-dev
sudo apt install -y libicu-dev
sudo apt install -y libjpeg-dev
sudo apt install -y libnode-dev
sudo apt install -y libpng-dev
sudo apt install -y libproj-dev
sudo apt install -y libsqlite3-dev
sudo apt install -y libssl-dev
sudo apt install -y libtiff-dev
sudo apt install -y libudunits2-dev
sudo apt install -y libxml2-dev
sudo apt install -y make
sudo apt install -y pandoc
sudo apt install -y zlib1g-dev
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-renv@v2
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages