1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-08-04 17:51:23 +00:00

Update dependencies and fix build server issues

This commit is contained in:
2021-01-15 18:32:13 -06:00
10 changed files with 123 additions and 43 deletions

10
.buildrc Executable file
View File

@@ -0,0 +1,10 @@
export BUILD_DATE=$(TZ=UTC date "+%Y-%m-%d")
export BUILD_TIME=$(TZ=UTC date "+%H:%M:%S %Z")
npm install
bundle install
sed -i "s/^ date:.*$/ date: $BUILD_DATE/" _config.yml
sed -i "s/^ time:.*$/ time: $BUILD_TIME/" _config.yml
JEKYLL_ENV=production bundle exec jekyll build