Add authors of the package. #513
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |