fixed publishing proper html file
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-05-12 15:16:59 -06:00
parent 39d818f46f
commit f8181236a1
+3 -4
View File
@@ -67,6 +67,9 @@ def main():
)
pubhtml = web_template.render(name=name, content=rawhtml, download=download_bar)
html_path = destdir / f"{base_name}.html"
with html_path.open(mode="w", encoding="utf-8") as f:
f.write(pubhtml)
# process full resume source files
filelist = list(srcdir.glob("*.md"))
@@ -94,10 +97,6 @@ def main():
ats_pdf_path = destdir / f"{base_name}-ats.pdf"
htmltopdf(ats_html, ats_pdf_path)
html_path = destdir / f"{base_name}.html"
with html_path.open(mode="w", encoding="utf-8") as f:
f.write(pubhtml)
print(f"Created: {web_pdf_path.name}")
print(f"Created: {ats_pdf_path.name}")
print(f"Created: {html_path.name}")