We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f71d3 commit 67b00c7Copy full SHA for 67b00c7
1 file changed
.github/workflows/publish_book.yml
@@ -51,8 +51,6 @@ jobs:
51
get_source_path() {
52
local file=$1
53
54
- file="${file#pages/}"
55
-
56
if [ "${{ inputs.is_index }}" = "true" ]; then
57
if [[ "$file" =~ ^[a-z]{2}/ ]] || [[ "$file" =~ ^programming/ ]]; then
58
echo "index/${file}"
@@ -98,8 +96,8 @@ jobs:
98
96
log_msg() {
99
97
local status=$1; local file=$2; local msg=$3
100
101
- local source_file=$(get_source_path "$file")
102
file="${file#pages/}"
+ local source_file=$(get_source_path "$file")
103
104
if [ $status -eq 0 ]; then
105
if [ -n "$msg" ]; then
0 commit comments