Uploading an HTML file to Canvas is not really a workable solution. The best ways to get PreTeXt content into canvas are to (a) use the embed feature from the PreTeXt page, which seamlessly embeds the main content of a PreTeXt page into a Canvas page (but requires that the HTML be hosted on the open web) or (b) use the SCORM output from PreTeXt and then import that into the SCORM tool in Canvas, which then produces a page inside Canvas that is nicely navigable.
For materials that you are OK with posting on the open web, option (a) is incredibly easy. I do a pretext deploy, wait for my GitHub pages to refresh, click the <> icon and copy the embed code, create a Page in Canvas, click the icon in the editor to edit source, paste in the embed code, and save the page. Yes, that’s a long list of steps, but each of them is one or two clicks.
Option (b) is annoying in that you can’t easily refresh the materials once on Canvas. You get stuck needing to upload a new SCORM bundle and link to it again. Thus, I only use it for my syllabus, which generally doesn’t change mid-semester, and my exams and their solutions, which I update basically only after each exam.