Skip to content

[r/ci] Debug pkgdown CI #245

[r/ci] Debug pkgdown CI

[r/ci] Debug pkgdown CI #245

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
# DEBUG
on:
pull_request:
push:
branches:
- main
- 'release-*'
workflow_dispatch:
# ORIGINAL
#on:
# #push:
# # # To publish docs from your branch: list the branch name here instead of main.
# # branches: [main]
# #pull_request:
# # # To publish docs from your branch: list the branch name here instead of main.
# # branches: [main]
# release:
# types: [published]
# workflow_dispatch:
name: pkgdown
jobs:
pkgdown:
runs-on: ubuntu-latest
# This is GitHub Actions magic -- there are no secrets we as package owners need to set up or manage
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v1
with:
working-directory: "apis/r"
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
working-directory: "apis/r"
- name: Install dependencies
run: ./apis/r/tools/install-pkgdown-dependencies.sh
# DEBUG
# - name: Deploy package
# run: ./apis/r/tools/deploy-pkgdown.sh