Skip to content

Commit

Permalink
Upload built site as artifact in pkgdown workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lazappi committed Nov 21, 2024
1 parent 9397e3c commit 81122d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Create built site artifact
uses: actions/upload-artifact@v4
with:
name: pkgdown-site
path: docs

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 81122d2

Please sign in to comment.