Skip to content

Commit 1b3db88

Browse files
committed
Set JEKYLL_ENV in all the git workflows
1 parent db9b1de commit 1b3db88

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99

1010
build:
1111
runs-on: ubuntu-latest
12+
env:
13+
JEKYLL_ENV: production
1214
steps:
1315
- name: Checkout repository
1416
uses: actions/checkout@v4
@@ -23,7 +25,7 @@ jobs:
2325
run: bundle install
2426

2527
- name: Build site
26-
run: JEKYLL_ENV=production bundle exec jekyll build
28+
run: bundle exec jekyll build
2729

2830
- name: Upload static files as artifact
2931
id: deployment
@@ -41,6 +43,8 @@ jobs:
4143
id-token: write
4244
pages: write
4345
needs: build
46+
env:
47+
JEKYLL_ENV: production
4448
steps:
4549
- name: Deploy to GitHub Pages
4650
id: deployment

0 commit comments

Comments
 (0)