Skip to content

Instantly share code, notes, and snippets.

@pablorsk
Created May 16, 2018 11:24
Show Gist options
  • Save pablorsk/069652fd29805c75fd5533d9554eb2fe to your computer and use it in GitHub Desktop.
Save pablorsk/069652fd29805c75fd5533d9554eb2fe to your computer and use it in GitHub Desktop.
Nanobox on Bitbucket Pipeline
## WARNING!!!
## DONT WORK YET
image: susa4ostec/bitbucket-pipelines-php7.1-mysql
options:
docker: true
pipelines:
default:
- step:
name: Install dependecies and test
caches:
- composer
script:
- apt-get update -q
- sh some script.sh
branches:
master:
- step:
name: Publish to staging version
deployment: staging
caches:
- composer
script:
- sh -c "$(curl -fsSL https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ci.sh)"
- nanobox deploy apicultor-20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment