2021-01-15 18:32:13 -06:00
|
|
|
export BUILD_DATE=$(TZ=UTC date "+%Y-%m-%d")
|
|
|
|
|
export BUILD_TIME=$(TZ=UTC date "+%H:%M:%S %Z")
|
|
|
|
|
|
|
|
|
|
npm install
|
2021-01-15 15:18:45 -06:00
|
|
|
bundle install
|
2021-01-15 18:32:13 -06:00
|
|
|
|
|
|
|
|
sed -i "s/^ date:.*$/ date: $BUILD_DATE/" _config.yml
|
|
|
|
|
sed -i "s/^ time:.*$/ time: $BUILD_TIME/" _config.yml
|
|
|
|
|
|
2021-01-15 15:18:45 -06:00
|
|
|
JEKYLL_ENV=production bundle exec jekyll build
|