Right now our deployments are done manually, we'd love to move these into bitbucket pipelines.
Here's what I need to do for our deployments:
- npm install
- npm run prod
- git pull on remote server
- run another bash command on the remote server
- scp specific files (built assets via the npm run prod) to remote server
Other potential important information:
We use different branches for staging/development, so would like to trigger the deploy to the staging server on push to the "staging" branch, and the deploy to the production server on push to the "master" branch.
/cc @Linette