With Continuous Deployment the code will be automatically deployed to your production (or test) server whenever new version is commited to Bitbucket.
It is possible to deploy to Cloud Providers or your own server using SSH. Enable Pipelines in Project Settings. Setup SSH trust relationship between Bitbucket and your server.
# Create bitbucket-pipelines.yml pipelines: default: - step: script: # Modified the commands below to build your repository - ssh user@host 'bash -s' < ./install.sh # Create install.sh #!/bin/bash HOME=/path/to/sapper/project cd $HOME pm2 stop node build git pull npm run build pm2 start node __sapper__/build