HEADS UP! It's important to add a trailing folder named "/repo". That folder is the deployment endpoint and is named "repo" by convention. The script will create folders /path/to/root/repo
and /path/to/root/releases
and a symlink /path/to/root/current
pointing to the current version in the releases folder.
That means when using a web-dir called "web" your webserver's document root needs to point to /path/to/root/current/web
.
composer config extra.remote.production ssh://user@host:22/absolute/path/to/root/repo
php init-remote.php production