Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
arunge committed Jun 28, 2024
2 parents 299f1db + bc9750c commit 0f07de4
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,32 @@ jobs:
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

# Save the generated site to be shared with the next job
- name: Upload site artifacts
uses: actions/upload-artifact@v3
with:
name: site
path: docs

deploy:
runs-on: ubuntu-latest
needs: pkgdown
if: github.event_name != 'pull_request'
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Download site artifacts
uses: actions/download-artifact@v3
with:
name: site
path: docs

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

0 comments on commit 0f07de4

Please sign in to comment.