Skip to content

Merge branch 'release-0.1.5' into github-main #9

Merge branch 'release-0.1.5' into github-main

Merge branch 'release-0.1.5' into github-main #9

on:
push:
branches: [main]
# release:
# types: [published]
workflow_dispatch:
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-renv@v2
- name: Deploy documentation
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
LOAD_MONITOS_PACKAGE=true Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE, subdir = '$(git describe --abbrev=0 --tags)')"