Azure / Azure/static-web-apps

Improve built-in Jekyll build commands

Open
#360 4 comments 1 reaction 0 assignees View on GitHub
oryx
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

#359 identified a couple of issues for building certain Jekyll apps.

* By default, Jekyll builds with `JEKYLL_ENV=development`. Apps that depend on this variable to check for `production` will not work as expected
* It should run `bundle exec jekyll build` instead of `jekyll build` if there's a Gemfile

Perhaps the build command should be: `JEKYLL_ENV=production bundle exec jekyll build`

There's also a question of whether we should be using Ruby 2.x or 3.x.

@qianz2 @arroyc

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.