Skip to content

add lightswitch to pkg docs, use bootstrap 5 #23

add lightswitch to pkg docs, use bootstrap 5

add lightswitch to pkg docs, use bootstrap 5 #23

Workflow file for this run

on:
push:
branches: main
name: pkgdown
jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown
- name: Install package
run: R CMD INSTALL .
- name: Deploy package
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'