We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 664a04a + c1694b2 commit cdeec2eCopy full SHA for cdeec2e
build.sh
@@ -51,8 +51,8 @@ mkdir -p "stable/tutorials/$(dirname "$HTML_FILE_PATH")"
51
52
# Copy the file to the target directory in the destination repository
53
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"
+cp "$HTML_FILE_PATH" "stable/tutorials/$(basename "$HTML_FILE_PATH")"
+
56
# Add, commit and push the files to the destination repository
57
echo "Adding changes to git..."
58
git add .
0 commit comments