I have a repo with all my source code (JavaScript) in, and I am trying to create a pipeline that builds this using Browserify, and then pushes only the final files to another bitbucket repo. The files to push are bundle.js (generated by Browserify), as well as an HTML page and CSS.
With my attempts so far, I've managed to push either just the html and CSS, or all the source files without the artifact, but I'm not really sure where to go.
Any help is greatly appreciated. Thank you in advance