From e4e2e8a9e02b9ea667081862a25682fe29c20e80 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Fri, 14 Apr 2023 22:27:37 -0700 Subject: [PATCH] workflow: use production environment in Jekyll builds --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8eeb539bd5..2c67f3ab11 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: - name: Run Jekyll # Build the site using Jekyll - run: bundle exec jekyll build + run: JEKYLL_ENV=production bundle exec jekyll build # Copy (or touch) other needed files # .nojekyll: to tell GH Pages to not rebuild (lol) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 112a08124d..f212352e29 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,4 +22,4 @@ jobs: - name: Run Jekyll # Build the site using Jekyll - run: bundle exec jekyll build + run: JEKYLL_ENV=production bundle exec jekyll build