Supposing:
- The artefact is built with
grunt
- The destination directory of the build is 'dist' and contains all necessary distribution files + bower.json
- The destination branch is 'build'
- The the current main branch is 'develop'
Otherwise simply replace accordingly