Skip to content
Discussion options

You must be logged in to vote

The problem is the relative paths. deploy_path: "testdeploy" and current_path: "public_html" get resolved against whatever directory the command happens to be running in, and that changes during the deploy.

Most deploy tasks start with cd('{{deploy_path}}'). You can see it break in deploy:release: it has already cd'ed into testdeploy, and then runs

ln -nfs releases/2 {{deploy_path}}/release

testdeploy/release relative to testdeploy/ is testdeploy/testdeploy/release, which doesn't exist, hence ln: testdeploy/release: No such file or directory. Tasks that don't cd first resolve the same values from the project root instead, so one setting points at two different places depending on the task.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joeshelton-wagento
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bugs
Labels
None yet
2 participants