File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,15 @@ function git_safe_upload_to_pages(){
8787
8888EVENT_JSON=` cat $GITHUB_EVENT_PATH `
8989
90+ echo " GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH "
91+ echo " EVENT_JSON: $EVENT_JSON "
92+
9093pages_added=` echo " $EVENT_JSON " | jq -r ' .commits[].added[]' `
94+ echo " added: $pages_added "
9195pages_modified=` echo " $EVENT_JSON " | jq -r ' .commits[].modified[]' `
96+ echo " modified: $pages_modified "
9297pages_removed=` echo " $EVENT_JSON " | jq -r ' .commits[].removed[]' `
98+ echo " removed: $pages_removed "
9399
94100for page in $pages_added ; do
95101 if [[ $page != " README.md" && $page != " docs/" * ]]; then
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ - pages
78 paths :
89 - ' README.md'
910 - ' docs/**'
11+ - ' .github/scripts/on-pages.sh'
12+ - ' .github/workflows/gh-pages.yml'
1013
1114jobs :
1215
You can’t perform that action at this time.
0 commit comments