-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
I was hoping to be able to use ~ in my deployTo, like "~/myapp/staging". However, the tilde doesn't work when it's used with quotes like:
Error: Command failed: /bin/sh -c ssh xxxxx@xxx.xxx.xxx.xxx "if ( ! [ -h \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\" ] ); then rm -rf \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\" 2> /dev/null; ln -s \"~/myapp/staging/shared/storage/framework/sessions\" \"~/myapp/staging/releases/20151129224812/storage/framework/sessions\"; fi"
ln: failed to create symbolic link ‘~/myapp/staging/releases/20151129224812/storage/framework/sessions’: No such file or directory
Are the quotes surrounding the paths even necessary? FWIW, I tried using $HOME instead of ~ but it breaks some of the shipit-deploy stuff.
Reactions are currently unavailable