Skip to content

⭐ Improved model coupling and vignette articles #4

⭐ Improved model coupling and vignette articles

⭐ Improved model coupling and vignette articles #4

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
name: pkgdown
permissions:
contents: write
jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
_R_REMOTES_NO_ERRORS_FROM_WARNINGS_: true
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install spatial system dependencies
run: |
sudo apt-get update
sudo apt-get -y install \
libudunits2-dev \
libgdal-dev \
libgeos-dev \
libproj-dev \
libglpk-dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: '"all"'
extra-packages: |
any::pkgdown,
local::.
needs: website
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE)
shell: Rscript {0}
- name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages
folder: docs