It's pretty much just two commands:
godot --export-release HTML5 web/index.html
butler push web <itch_account>/<project_name>:<channel>
Used those with GitLab CI for ages:)