Created
April 13, 2018 10:49
-
-
Save mtigdemir/012562770fc108a976642dc568278014 to your computer and use it in GitHub Desktop.
Deployer Bitbucket Pipeline With Default Images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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