Various Jekyll/build improvements #2194

Closed
jonah wants to merge 10 commits from jekyll-improvements into master
Owner

Changes:

  • Specify specific Ruby version to use in .ruby-version, to ensure developers are using identical software to build machines and Netlify.
    • Set this value to 3.0.0, up from current builds using 2.6.2. Additionally I've added two gems that are now required for Jekyll Ruby 3 support.
    • We want to avoid issues like #2168 in the future, as updating Ruby locally without coordinating with site builders can break production builds.
    • Updated Ruby installation instructions in README.
  • Upgrade Bundler to 2.2.5
    • Locking to 2.0.1 in the first place was a workaround for a Netlify build bug which is now resolved.
  • Switched from github-pages gem to jekyll gem.
  • Upgrade Jekyll to 4.2.0
    • No longer depends on ruby-sass, which is EOL.
  • Adds brotli static file generation.
    • Merging this PR will automatically merge #2189 as well. Thx @Gusted
  • Renames build.sh to .buildrc.
    • This new file is sourced within the build scripts on production servers. Commands should be assumed to be running in the main directory ($HOME/privacytools.io) directly following a fresh pull from GitHub.
**Changes:** - Specify specific Ruby version to use in `.ruby-version`, to ensure developers are using identical software to build machines and Netlify. - Set this value to 3.0.0, up from current builds using 2.6.2. Additionally I've added two gems that are now required for Jekyll Ruby 3 support. - We want to avoid issues like #2168 in the future, as updating Ruby locally without coordinating with site builders can break production builds. - Updated Ruby installation instructions in README. - Upgrade Bundler to 2.2.5 - Locking to 2.0.1 in the first place was a workaround for a Netlify build bug which is now resolved. - Switched from `github-pages` gem to `jekyll` gem. - Upgrade Jekyll to 4.2.0 - No longer depends on `ruby-sass`, which is EOL. - Adds brotli static file generation. - Merging this PR will automatically merge #2189 as well. Thx @Gusted - Renames `build.sh` to `.buildrc`. - This new file is `source`d within the build scripts on production servers. Commands should be assumed to be running in the main directory (`$HOME/privacytools.io`) directly following a fresh pull from GitHub.
privacytoolsIO (Migrated from github.com) reviewed 2021-01-15 21:20:55 +00:00
Author
Owner
Blocked by https://github.com/netlify/build-image/issues/517
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: privacyguides/privacytools.io#2194
No description provided.