Take 2 master pages, on the first master page take your wider header and on the second master page other header.
And restrict the first master page occurrence to first page only by setting the master page property " Restrict Page Occurrence" > Min Count to 1
On git changes, you can create the pipeline in Cloud Manager.
refer this:
https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/cloud-manager/cicd-production-pipeline.html?lang=en
Once the form is rendered with outputService.generatePDFOutput() service, the dynamic behavior of the forms will not work, i.e. button, checkbox click, etc.
From the logs seems like your schema is not valid, are you using json or xsd file? Need to check your schema.
Caused by: com.github.fge.jsonschema.core.exceptions.ProcessingException: fatal: content at URI "crx:/content/dam/formsanddocuments/schemas/schema.xsd#" is not valid JSON
level: "fatal...