Skip to content

update

update #10

Workflow file for this run

name: Build pkgdown site
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install system dependencies
run: |
sudo apt-get install -y libxml2-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y libcurl4-openssl-dev
sudo apt-get install -y libgit2-dev
sudo apt-get install -y libharfbuzz-dev
sudo apt-get install -y libfribidi-dev
- name: Install R package dependencies
run: Rscript -e 'install.packages("remotes"); remotes::install_deps(dependencies = TRUE); install.packages(c("tidyverse", "devtools"))'
- name: Install pkgdown
run: Rscript -e 'install.packages("pkgdown")'
- name: Build pkgdown site
run: Rscript -e 'pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)'
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}