script.py aktualisiert
All checks were successful
Continuous Integration / Generate index.html (push) Successful in 10s
All checks were successful
Continuous Integration / Generate index.html (push) Successful in 10s
This commit is contained in:
parent
3ec22e2a31
commit
8b41a039c8
@ -60,8 +60,6 @@ output_file = 'index.html'
|
|||||||
with open(output_file, 'w') as f:
|
with open(output_file, 'w') as f:
|
||||||
f.write(html_content)
|
f.write(html_content)
|
||||||
|
|
||||||
print(f"HTML file '{output_file}' has been created with links to all files in the bucket.")
|
|
||||||
|
|
||||||
# Upload file to bucket
|
# Upload file to bucket
|
||||||
bucket.upload_local_file(local_file=output_file, file_name="index.html")
|
bucket.upload_local_file(local_file=output_file, file_name="index.html")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user