grantmakers / profiles

Grantmakers.io Profiles - Summary profiles for all US-based foundations who have filed electronic IRS Form 990-PF
MIT License
1 stars 1 forks source link

Upgrade Jekyll to 4.1.0 #89

Closed chadokruse closed 4 years ago

chadokruse commented 4 years ago

Jekyll 4.0 causes Codeship build to hit memory cap due to cacheing Jekyll 4.1.0 adds --disable-disk-cache flag

Interim fix: Keeping Jekyll at 3.8.6 allows builds to complete


Codeship deploy script updates On both staging and source

# Prep Webpack
npm install
# Ensure Codeship uses proper version of Ruby
rvm use $(cat .ruby-version) --install
# Ensure using upgraded bundle version
# Pre-installed ruby packages on Codeship may have Bundle 1.0
gem install bundler
bundle install
# Run Webpack
npm run webpack

On source only

JEKYLL_ENV=production bundle exec jekyll build --disable-disk-cache