Skip to content

footnote

footnote #103

Workflow file for this run

on:
push:
branches: main
name: render
jobs:
render:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: false
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: quarto-dev/quarto-actions/setup@v2
- name: Install Linux system dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libglpk-dev libglpk40 libmbedtls-dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Cache results
uses: actions/cache@v2
with:
path: |
_book
_freeze
key: book-render-${{ hashFiles('**/*qmd') }}
restore-keys: book-render-
- name: Render
run: quarto render
- name: Deploy to GitHub pages
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: _book