Skip to content

Commit bb83e41

Browse files
committed
deploy _headers and index.html to gh-pages in local script
1 parent 72ac8d8 commit bb83e41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/run_main_ci_equivalent_local.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ def main(always_continue: bool = True, skip_update_external: bool = False, with_
154154

155155
end_of_job(dist, always_continue)
156156

157+
# copy _header and index.html file in order to enable a valid bioimage.io preview
158+
shutil.copy("_headers", str(gh_pages / "_headers"))
159+
shutil.copy("index.html", str(gh_pages / "index.html"))
160+
157161

158162
if __name__ == "__main__":
159163
typer.run(main)

0 commit comments

Comments
 (0)