Files
jekyll-build-pages/bin/record_expected_output
T

15 lines
350 B
Bash
Raw Normal View History

2022-02-01 22:19:18 -05:00
#! /usr/bin/env sh
if [ "local" = "$1" ]; then
export JEKYLL_ENV=production
export PAGES_REPO_NWO=actions/jekyll-build-pages
export JEKYLL_BUILD_REVISION=JEKYLL_BUILD_REVISION
2022-02-01 22:19:18 -05:00
2022-03-22 13:26:23 -04:00
for dir in test_projects/*
do
2022-03-22 13:26:23 -04:00
bundle exec github-pages build --verbose -s "$dir" -d "$dir/_expected"
done
else
act -b -s GITHUB_TOKEN -j record-expected-output
fi