Skip to content

index.md

index.md #201

Workflow file for this run

on:
pull_request:
branches:
- sources
name: 📦 Check build
jobs:
build:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install rmarkdown, blogdown # might need knitr
run: Rscript -e 'install.packages(c("rmarkdown","blogdown"))'
- name: Install hugo
run: Rscript -e 'blogdown::install_hugo(version = "0.122.0", arch = "universal")'
- name: Build site with blogdown
run: Rscript -e "blogdown::build_site()"