Files
jekyll-build-pages/bin/record_expected_output
T
Yoann Chaudet d9d253201f wip
2022-07-27 13:15:40 -07:00

15 lines
387 B
Bash
Executable File

#! /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
for dir in $(ls test_projects)
do
bundle exec github-pages build --verbose -s test_projects/$dir -d test_projects/$dir/_expected
done
else
act -b -s GITHUB_TOKEN -j record-expected-output
fi