Skip to content

Commit

Permalink
Merge pull request #22 from Appsilon/improve-pkgdown-workflow
Browse files Browse the repository at this point in the history
ci: switch back to deploy_to_branch
  • Loading branch information
kamilzyla authored Feb 11, 2022
2 parents 45f2757 + a239e57 commit 67d797b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,8 @@ jobs:
extra-packages: any::pkgdown, local::.
needs: website

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

- name: Deploy to GitHub pages 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .
clean: false
- name: Deploy to gh-pages branch
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

0 comments on commit 67d797b

Please sign in to comment.