update NEWS #68
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/r-lib/actions/tree/master/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
on: | |
push: | |
branches: | |
- main | |
# paths-ignore: | |
# - '**.md' | |
paths: | |
- '**.qmd' | |
- '**.yml' | |
- '**.bib' | |
- '**.scss' | |
name: build | |
jobs: | |
build-book: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Include submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: r-lib/actions/setup-pandoc@v2 # v3 now available | |
with: | |
pandoc-version: '3.1.2' | |
- name: Install missing system dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt-get update && sudo apt-get install libglpk-dev | |
- name: Install Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
with: | |
tinytex: true | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
#- uses: r-lib/actions/setup-r-dependencies@v2 | |
- uses: r-lib/actions/setup-renv@v2 | |
- name: Render and Publish | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: netlify | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
# - name: Build Quarto site | |
# run: | | |
# quarto render --to all | |
# | |
# - name: Deploy to Netlify | |
# env: | |
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
# run: | | |
# npm install netlify-cli -g | |
# netlify deploy --prod --dir _book | |
# | |