mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-20 21:34:34 -05:00
12 lines
320 B
Plaintext
Executable File
12 lines
320 B
Plaintext
Executable File
export BUILD_DATE=$(TZ=UTC date "+%Y-%m-%d")
|
|
export BUILD_TIME=$(TZ=UTC date "+%H:%M:%S %Z")
|
|
|
|
npm install
|
|
gem install bundler:2.2.5
|
|
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
|