When you perform the publishing on Web, there are at least two wofklows involved.
A standard workflow wf_publish gets invoked by the GN4 application. It displays the publishing form that allows you to select the publishing destination to publish the content to:
A publishing destination is linked to a publishing template. You can review the publishing destinations in EdAdmin4, Publishing > Publishing destinations. Open the publishing destination, and then review the template name in the Template field.
Now, return to the main EdAdmin4 screen, and then select Publishing templates. Double-click the one with the name you identified previously, and then click the Publish WF tab. Select all the code and then paste it in an editor. Review the code there.