Bump json5 from 2.2.1 to 2.2.3 #83
Workflow file for this run
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
# Workflow derived from https://github.com/rstudio/r-manuals/tree/main/.github/workflows/build-website.yaml | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
workflow_dispatch: | |
name: Build Site | |
jobs: | |
build-website: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: quarto-dev/quarto-actions/install-quarto@v1 | |
- name: Put pandoc in PATH | |
run: | | |
mkdir -p ~/.local/bin | |
ln -s $(dirname $(readlink -f $(which quarto)))"/pandoc" ~/.local/bin/pandoc | |
shell: bash | |
- name: Install system requirements | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y fonts-ipafont | |
sudo apt-get install -y libcurl4-openssl-dev | |
sudo apt-get install -y libharfbuzz-dev | |
sudo apt-get install -y libfribidi-dev | |
sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev | |
fc-cache -fv | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-renv@v2 | |
- name: Build site 🔧 | |
run: Rscript scripts/build_website.R | |
- name: Deploy 🚀 | |
if: github.event_name != 'pull_request' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: _book # The folder the action should deploy. |