Skip to content

ci: bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.1 #10

ci: bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.1

ci: bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.1 #10

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
name: pkgdown
on:
push:
branches:
- main
paths:
- R/**
- vignetts/**
- _pkgdown.yml
- DESCRIPTION
- README.md
tags:
- v*
pull_request:
branches:
- main
paths:
- .github/workflows/pkgdown.yml
- R/**
- vignetts/**
- _pkgdown.yml
- DESCRIPTION
- README.md
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pkgdown:
runs-on: ubuntu-latest
permissions:
contents: write
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Ncpus: "2"
extra-repositories: https://rpolars.r-universe.dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Build site
shell: Rscript {0}
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs