Greetings,
Have some node scripts in a package.json that autogenerate code documentation for maintainability.
Is there a way to execute the node script and have it save the generated files inside the master branch of the repo?
It would be nice if after a pull request has been accepted and merged in the user could run “git pull” on their local box and get the most current version of the pipeline generated documentation.
Please help and thank you.
I don't see any blockers on this unless I'm misunderstanding you.
You would need to create a new commit to the same repo after running your node script. This commit would need to use the [skip ci] token on its commit message. It will prevent a new build to happen for this commit.
You can see more details about this here: https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/skip-ci-doesn-t-prevent-pipeline-running/qaq-p/965889
Please let me know if this helps you to move forward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.