Skip to content

Commit

Permalink
Merge branch 'main' into warning-gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannchaudet authored Dec 28, 2022
2 parents 1e9bc18 + cd94e91 commit 1ad3785
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
paths:
- '**.sh'
# this is too wide but will cover shell scripts without an extension in that folder
- 'bin/*'

jobs:
shellcheck:
Expand Down
4 changes: 2 additions & 2 deletions bin/record_expected_output
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ if [ "local" = "$1" ]; then
export PAGES_REPO_NWO=actions/jekyll-build-pages
export JEKYLL_BUILD_REVISION=JEKYLL_BUILD_REVISION

for dir in $(ls test_projects)
for dir in test_projects/*
do
bundle exec github-pages build --verbose -s test_projects/$dir -d test_projects/$dir/_expected
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
Expand Down
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

#######################################################################################################
####################################################################################################
#
# Calls github-pages executable to build the site using whitelisted plugins and supported configuration
# Calls github-pages executable to build the site using allowed plugins and supported configuration
#
#######################################################################################################
####################################################################################################

set -o errexit

Expand Down

0 comments on commit 1ad3785

Please sign in to comment.