Deployer – https://deployer.org/
A zero downtime PHP deployment tool.
How it works?
SSH into the remote server,
git clone to new folder,
composer install, and create symlink to latest release folder
And optionally run database migration, restart PHP-FPM. If either step fails, it rollbacks the whole transaction.
Continue reading “[Windows/Linux/Mac][PHP Deployer] Zero Downtime PHP Deployment”
In last few post we mentioned using bash in Windows by install Git.
It comes with handy *nix tools like
ssh… but something still missing is
Because it do not mean to be collection of POSIX software for Windows. It is a wont-fix for them.
Git for Windows is based on MSYS2 (As of version Git-SCM 2.13.3)
Unfortunately it does not comes with pacman (Package manager) so there are not official way to install packages.
Furthermore, cwRsync and DeltaCopy does not work in bash environment.
Continue reading “[Windows Bash] Add Rsync to “Git Bash for Windows””
When you using Bash for Windows (MinGW, Installed by
git), with TotoriseGit installed
ssh works but
git do not pick-up correct SSH keys.
Causing “No supported authentication methods available”
It is because TotoriseGit has taken over some git/ssh command.
To correctly this, the solution is adding this line to your