Skip to content

Merge branch 'main' of github.com:forkonlp/N2H4 #68

Merge branch 'main' of github.com:forkonlp/N2H4

Merge branch 'main' of github.com:forkonlp/N2H4 #68

Workflow file for this run

on:
push:
branches:
- main
- master
name: pkgdown
jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
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: 2
extra-packages: pkgdown preferably
- 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)'