Skip to content

Update pkgdown.yaml #476

Update pkgdown.yaml

Update pkgdown.yaml #476

Workflow file for this run

on:
push:
branches:
- main
- master
- devel
pull_request:
branches:
- main
- master
- devel
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:RELEASE_3_18
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install apt dependencies
run: |
sudo apt-get update && sudo apt-get install -y rsync
- name: Install R dependencies
run: |
install.packages("pkgdown", dependencies = TRUE)
remotes::install_deps(dependencies = TRUE, repos = BiocManager::repositories())
shell: Rscript {0}
- name: Install package
run: R CMD INSTALL .
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
- name: Deploy to GitHub pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
clean: false
folder: docs