diff --git a/.Rprofile b/.Rprofile index 7a2d7bf77..c09b1c89d 100644 --- a/.Rprofile +++ b/.Rprofile @@ -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" ) diff --git a/.github/workflows/build_site.yaml b/.github/workflows/build_site.yaml index 0e09e9b6e..bd4e9abf9 100644 --- a/.github/workflows/build_site.yaml +++ b/.github/workflows/build_site.yaml @@ -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