blogdown build_hugo with parameters (baseURL)

So I'm working on a CI/CD pipeline for my blogdown/Hugo based site and am trying to do some work with parameterizing certain aspects of the build for a "staging" versus "production" instance. I'm looking at the Hugo documentation which has a parameter for specifying the baseURL. However I've tried a few forms of passing in that parameter with the blogdown::hugo_build() command can can't get anything to work. Any ideas? Thanks!

The answer is here

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.