When the PDF generator is updated currently, the minified code that is generated needs to be manually copy-pasted over to the CoA-schemas and EM10168-schemas repositories. This PR automates both of those tasks using https://github.com/Redocly/repo-file-sync-action.
It watches the generateContent.js file in the /dist folders and when those files are updated and pushed to main, it automatically opens PRs on the target repositories with the updated code.
Fixes #146
Type of change
[x] New feature (non-breaking change which adds functionality)
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
When the PDF generator is updated currently, the minified code that is generated needs to be manually copy-pasted over to the CoA-schemas and EM10168-schemas repositories. This PR automates both of those tasks using https://github.com/Redocly/repo-file-sync-action. It watches the
generateContent.js
file in the/dist
folders and when those files are updated and pushed to main, it automatically opens PRs on the target repositories with the updated code.Fixes #146
Type of change
Checklist: