-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
link_shared_paths links to user folder #248
Comments
@gabskoro what do you think? |
That is a problem, because when you run this link_shared_paths command as a standalone you wont cd to current release folder. If you do not want the link_shared_paths to happen inside a deploy script, you can create a new task like this:
|
@d4be4st |
It is normal because that task is meant to link shared paths to current folder './' So if you want to use the link_to_shared_paths outside deploy script you will need to change directory first. |
@d4be4st task |
The thing is that mina does not know what current release path is outside of deploy task. That is not stored anywhere. We could assume that it is the latest release but that might not be the case as you can symlink your current folder to any of the release folders |
ok |
when I execute
mina deploy:link_shared_paths
this commandecho_cmd(%{ln -s "#{deploy_to}/#{shared_path}/#{file}" "./#{file}"})
links files to
/home/user
folder instead of current release folderThe text was updated successfully, but these errors were encountered: