Skip to content

Commit cdeec2e

Browse files
committed
2 parents 664a04a + c1694b2 commit cdeec2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ mkdir -p "stable/tutorials/$(dirname "$HTML_FILE_PATH")"
5151

5252
# Copy the file to the target directory in the destination repository
5353
echo "Copying the HTML file to the target directory..."
54-
#cp "../$HTML_FILE_PATH" "stable/tutorials/$HTML_FILE_PATH"
55-
cp "$HTML_FILE_PATH" "stable/tutorials/$FILE_PATH"
54+
cp "$HTML_FILE_PATH" "stable/tutorials/$(basename "$HTML_FILE_PATH")"
55+
5656
# Add, commit and push the files to the destination repository
5757
echo "Adding changes to git..."
5858
git add .

0 commit comments

Comments
 (0)