Skip to content

Instantly share code, notes, and snippets.

@mtigdemir
Created April 13, 2018 10:49
Show Gist options
  • Save mtigdemir/012562770fc108a976642dc568278014 to your computer and use it in GitHub Desktop.
Save mtigdemir/012562770fc108a976642dc568278014 to your computer and use it in GitHub Desktop.
Deployer Bitbucket Pipeline With Default Images
image: php:7.1.3
pipelines:
branches:
master:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip openssh-client rsync
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- composer global require deployer/deployer
- composer global require deployer/recipes --dev
- vendor/bin/phpunit
- /root/.composer/vendor/bin/dep deploy -vvv test ## Remove -vvv after your successful deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment