Skip to content

Commit

Permalink
Fixed issue with examples in website
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquesposito committed Nov 8, 2022
1 parent ebc89a2 commit 889bdd2
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/pushrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ jobs:
any::rcmdcheck
any::pkgdown
any::remotes
any::rmarkdown
any::modelsummary
any::gt
any::kableExtra
needs: check

- name: Install package
Expand All @@ -333,11 +337,19 @@ jobs:
remotes::install_github("ropensci/RefManageR")
shell: Rscript {0}

- name: Render output samples
- name: Install package
run: R CMD INSTALL .

- name: Build site # build pkgdown site in separate step
run: Rscript -e 'pkgdown::build_site()'

- name: Render output samples # Render output samples after that
run: Rscript R/_render.R

- name: Deploy package
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
- name: Deploy # deploy the docs folder to gh-pages with output samples
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
CLEAN: true

0 comments on commit 889bdd2

Please sign in to comment.