You can check the publishing tutorial!
Basically:
1 - Go to “share” menu and click export
2 - Rename the downloaded file to index.html and zip it
3 - Upload to itch and select the kind of project as HTML
4 - upload your zipped file and click in “Played in the browser”