diff --git a/.github/workflows/deployExpensifyHelp.yml b/.github/workflows/deployExpensifyHelp.yml index c88b524e9dc3..461c14531897 100644 --- a/.github/workflows/deployExpensifyHelp.yml +++ b/.github/workflows/deployExpensifyHelp.yml @@ -70,6 +70,8 @@ jobs: - name: Build Jekyll site run: bundle exec jekyll build --source ./ --destination ./_site working-directory: ./docs + env: + JEKYLL_ENV: production - name: Deploy to Cloudflare Pages uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca diff --git a/.github/workflows/deployNewHelp.yml b/.github/workflows/deployNewHelp.yml index 84eeb03f6858..5acaaecbd6b2 100644 --- a/.github/workflows/deployNewHelp.yml +++ b/.github/workflows/deployNewHelp.yml @@ -70,6 +70,8 @@ jobs: - name: Build Jekyll site run: bundle exec jekyll build --source ./ --destination ./_site working-directory: ./help # Ensure Jekyll is building the site in /help + env: + JEKYLL_ENV: production # This will copy the contents of /help/_site to Cloudflare. The pages-action will # evaluate the current branch to determine into which CF environment to deploy: