First english post here. Just for lulz 😀
Actually post related to gift i’ve got from
Here some stickers and postcard with handwritten message.
So I decided to write little post about deploy on my pet project —
I also have work project on deploybot, but it works almost same. Only difference is servers amount.
I use DeployBot about 9 months totally and last 3 months with the paid account.
So my deploy script is not canonical and not safe, but it works 🙂
After commit on master — github send info to DeployBot.
Then it just pulling data from github and then run/install/update composer and depencies.
And here full script:
echo 'Changing dir';
echo 'Pulling git';
git pull origin master
if [ ! -f /usr/local/bin/composer ]; then
echo 'Installing composer';
php -r "readfile('https://getcomposer.org/installer');" | php
mv composer.phar /usr/local/bin/composer
echo 'Install depencies';
echo 'Update depencies';
At current moment a have about 2500 deploys passed.