Skip to content

Merge pull request #189 from inbo/dev_nextrelease #15

Merge pull request #189 from inbo/dev_nextrelease

Merge pull request #189 from inbo/dev_nextrelease #15

Workflow file for this run

on:
push:
branches:
- main
- master
name: site-deploy
jobs:
site-deploy:
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: ${{ secrets.CACHE_VERSION }}
extra-packages: local::., pkgdown@1.6.1
needs: website
- name: Deploy package
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
Rscript -e 'options(rmarkdown.html_vignette.check_title = FALSE); pkgdown::deploy_to_branch(new_process = FALSE)'