Skip to content

Merge pull request #386 from jruizcabrejos/main #203

Merge pull request #386 from jruizcabrejos/main

Merge pull request #386 from jruizcabrejos/main #203

Workflow file for this run

on:
push:
branches:
- main
- master
- cran_ready
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 1
extra-packages: |
any::pkgdown
local::.
- 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)'