Skip to content

Commit

Permalink
ci: use Bioconductor docker and disable R installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 11, 2024
1 parent ffa3f81 commit 54f5680
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ permissions: read-all
jobs:
pkgdown:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:RELEASE_3_19
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
Expand All @@ -24,11 +25,16 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Checkout package
uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2
- name: Setup pandoc from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
- name: Setup R from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

Expand All @@ -37,7 +43,9 @@ jobs:
extra-packages: any::pkgdown, local::.
needs: website

- uses: r-lib/actions/setup-tinytex@v2
- name: Setup tinytex from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-tinytex@v2

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down

0 comments on commit 54f5680

Please sign in to comment.