Skip to content

Commit

Permalink
Update pkgdown.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon authored Sep 18, 2024
1 parent a7ea270 commit 5d5dd31
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 9,9 @@ on:
types: [published]
workflow_dispatch:

name: pkgdown
name: pkgdown

jobs:
jobs:
build:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
Expand All @@ -25,26 25,26 @@ on:
pages: write
steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "2.19.2"

- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown

- name: Build site
run: "pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)"
shell: Rscript {0}

- name: Upload artifact for GH pages deployment
uses: actions/upload-pages-artifact@v3
with:
path: "docs/"

deploy:
# check builds on PRs but only deploy when main changes
if: ${{ github.event_name != 'pull_request' }}
Expand All @@ -53,11 53,11 @@ on:
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub pages
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

0 comments on commit 5d5dd31

Please sign in to comment.