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:
10
.buildrc
Executable file
10
.buildrc
Executable 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
|
Reference in New Issue
Block a user