Skip to content

Commit

Permalink
docs: update pkgdown.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefpeschel committed Nov 7, 2024
1 parent 3a5b60f commit 56a9316
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
# By Stefanie Peschel: Adapted to install Bioconductor packages in advance

name: pkgdown.yaml

on:
push:
branches: [main, master]
Expand All @@ -13,6 +9,8 @@ on:
types: [published]
workflow_dispatch:

name: pkgdown.yaml

permissions: read-all

jobs:
Expand All @@ -34,16 +32,10 @@ jobs:
with:
use-public-rspm: true

# Install Bioconductor dependencies
- name: Install Bioconductor dependencies
run: |
Rscript -e 'if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")'
Rscript -e 'BiocManager::install(c("metagenomeSeq", "Biobase", "phyloseq"))'
# Continue with remaining dependencies
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand All @@ -55,4 +47,4 @@ jobs:
with:
clean: false
branch: gh-pages
folder: docs
folder: docs

0 comments on commit 56a9316

Please sign in to comment.