Skip to content

Merge pull request #125 from rstudio/parse-length-unit-fix #86

Merge pull request #125 from rstudio/parse-length-unit-fix

Merge pull request #125 from rstudio/parse-length-unit-fix #86

Workflow file for this run

on:
push:
branches: main
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GHA_PAT }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Install package
run: R CMD INSTALL .
- name: Build and deploy pkgdown site
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'