Skip to content

Commit

Permalink
Pinning Hugo to 0.131.0
Browse files Browse the repository at this point in the history
Latest working version without error nor warning with change that are not compatible with hugo-xmin

(trying to solve rstudio/bookdown#1481)
  • Loading branch information
cderv committed Nov 25, 2024
1 parent 86265b2 commit 4c0721a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .Rprofile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
if (file.exists('~/.Rprofile')) sys.source('~/.Rprofile', envir = environment())

options(
blogdown.serve_site.startup = FALSE
blogdown.serve_site.startup = FALSE,
blogdown.hugo.version = "0.131.0"
)
3 changes: 2 additions & 1 deletion .github/workflows/build_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ jobs:

- name: Install hugo
run: |
blogdown::install_hugo()
# Pinning version v0.131.0 to work without error with hugo-xmin
blogdown::install_hugo("v0.131.0")
shell: Rscript {0}
working-directory: R

Expand Down

0 comments on commit 4c0721a

Please sign in to comment.