Skip to content

Commit

Permalink
put back deps and set github_pat
Browse files Browse the repository at this point in the history
  • Loading branch information
statnmap committed Sep 25, 2021
1 parent 4421f39 commit a7bf688
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_bookdown_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ jobs:

- name: Before build
run: Rscript prep.R
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Render Book
run: Rscript -e 'bookdown::render_book("index.Rmd")'

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v2
with:
name: _site
Expand Down
3 changes: 1 addition & 2 deletions 01-big-shiny.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,7 @@ While developing your application, the one you will be interested in is `cycloco
Here is, for example, the cyclomatic complexity of the default golem template (assuming it is located in a `golex/` subdirectory):

```{r 01-big-shiny-13, include = FALSE}
# Assume dependencies already installed to avoid GitHub rate limit
remotes::install_local("golex", upgrade = "never", dependencies = FALSE)
remotes::install_local("golex", upgrade = "never")
if (!dir.exists("golex")){
source("golembuild.R")
}
Expand Down

0 comments on commit a7bf688

Please sign in to comment.