I've been trying for the past hour to build my jekyll site locally with JEKYLL_ENV=production with no success. I've tried the following methods which I got from this.
set JEKYLL_ENV=production | jekyll build- run one command at a time
a.
set JEKYLL_ENV=productionb.jekyll build - edit
_config.ymland add a lineenvironment: production - Manually add a new
JEKYLL_ENVenvironment variable with valueproductionon my Windows 11
What am I missing? Any suggestions on how I can troubleshoot?
My new site is based off the Chirpy theme, created using the Chirpy Starter
I also noticed that my deployed site is also in development mode. I'm using the GitHub Actions automatically generated by Azure Static Web Apps using this tutorial. This is even when I added the line environment: production to _config.yml
Thanks in advance!