Skip to content

Commit

Permalink
bookdown build workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kruscpe1 committed Mar 6, 2024
1 parent f8de7b4 commit ce4ec0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
source("renv/activate.R")

if (Sys.getenv("LOAD_MONITOS_PACKAGE") == "true") {
devtools::load_all(".")
}
4 changes: 2 additions & 2 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
extra-packages: pkgdown
needs: website

- name: Deploy package
- name: Deploy documentation
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE, subdir = '$(git describe --abbrev=0 --tags)')"
LOAD_MONITOS_PACKAGE=true Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE, subdir = '$(git describe --abbrev=0 --tags)')"

0 comments on commit ce4ec0d

Please sign in to comment.