Skip to content

Commit

Permalink
deploy gh-pages to pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
katosh committed Jun 18, 2024
1 parent e86e772 commit 2fac2e5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ jobs:
pkgdown::build_site()
shell: Rscript {0}

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages # Ensure it deploys to the gh-pages branch
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

- name: Test coverage
run: |
Expand Down

0 comments on commit 2fac2e5

Please sign in to comment.