Skip to content

Commit 5690770

Browse files
authored
Fix http.server
1 parent 3521805 commit 5690770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
# Update package index links to point to the local files
156156
to_remove="https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/"
157157
package_index_folder="$(realpath $(pwd)/../package-index)/"
158-
python -m http.server &
158+
python -m http.server --directory "$package_index_folder" &
159159
package_index_url="http://127.0.0.1:8000/"
160160
find "$package_index_folder" -type f -exec sed -i "s|${to_remove}|${package_index_url}|g" {} \;
161161

0 commit comments

Comments
 (0)