Skip to content

Commit bff9abc

Browse files
committed
adjust update_index.py
1 parent 54dfec9 commit bff9abc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update_index.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ def main():
2121
for page in paginator.paginate(Bucket=bucket, Delimiter='/', Prefix=prefix):
2222
for content in page.get('Contents', []):
2323
key = content['Key']
24-
print(f"<li><a href='{key}'>{key}</a></li>")
24+
#
25+
# NB. use double quotes in href because that's that
26+
# wheelhouse_uploader expects.
27+
#
28+
# https://github.com/ogrisel/wheelhouse-uploader/blob/eb32a7bb410769bb4212a9aa7fb3bfa3cef1aaec/wheelhouse_uploader/fetch.py#L15
29+
#
30+
print(f"""<li><a href="{key}">{key}</a></li>""")
2531
print("</ul></body></html>")
2632

2733

0 commit comments

Comments
 (0)