Skip to content

Fix sparse abundance heatmap rendering #67

Fix sparse abundance heatmap rendering

Fix sparse abundance heatmap rendering #67

Workflow file for this run

name: pkgdown
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
pkgdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.3
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.5.2'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libicu-dev pandoc
- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Build pkgdown site
if: github.event_name != 'push' || github.ref != 'refs/heads/main'
run: Rscript -e 'pkgdown::build_site()'
- name: Build and deploy pkgdown site
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'