Skip to content

Bump dawidd6/action-download-artifact from 20 to 21 (#451) #1459

Bump dawidd6/action-download-artifact from 20 to 21 (#451)

Bump dawidd6/action-download-artifact from 20 to 21 (#451) #1459

Workflow file for this run

# 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
on:
push:
branches: [devel]
pull_request:
release:
types: [published]
workflow_dispatch:
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get -y install libsz2
- uses: r-lib/actions/setup-pandoc@v2
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Setup R and Bioconductor
uses: grimbough/bioc-actions/setup-bioc@v1
with:
bioc-version: devel
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: local::.
needs: website
cache-version: 2
- name: Configure python dependencies and reticulate
run: |
pip install scanpy mudata
echo "RETICULATE_PYTHON=$(which python3)" >> ~/.Renviron
echo "Python configured for reticulate:" && Rscript -e 'reticulate::py_config()'
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs