Travis CI can automatically deploy files to BitBalloon after a successful build.
To deploy the current directory to BitBalloon, add your encrypted BitBalloon
access-token to your
deploy: provider: bitballoon site-id: secure: "YOUR ENCRYPTED SITE ID" access-token: secure: "YOUR ENCRYPTED ACCESS TOKEN"
Deploying a specific directory #
To deploy a specific directory to BitBalloon, use the
deploy: provider: bitballoon site-id: secure: "YOUR ENCRYPTED SITE ID" access-token: secure: "YOUR ENCRYPTED ACCESS TOKEN" local-dir: "_build/"
Running commands before and after deploy #
Sometimes you want to run commands before or after deploying. You can use
after_deploy stages for this. These will only be
triggered if Travis CI is actually deploying.
before_deploy: "echo 'ready?'" deploy: .. after_deploy: - ./after_deploy_1.sh - ./after_deploy_2.sh