Error on "deploy | WordPress Installed?" task

@fullyint Yes this is failing on the “Run npm install” task. My local_path is correct, I’m going against the convention by having a singular Trellis install with multiple WordPress installations. So for me it’s dev/trellis and dev/example.com

I made a mistake in the output path in the previous error message (7). Using the {{ project.local_path }}in my finilize-build.yml file I was actually getting the following error:

failed: [104.131.113.87] => {"failed": true, "rc": 258}
msg: cannot change to directory '/Users/connor/dev/example.com/web/app/themes/my_theme': path does not exist

I accidentally mis-copied the error message from when I had tried what OP was trying in 5016 and using {{ deploy_helper.current_path }} in the deploy.yml file.


So just to clarify, I am getting a completed deployment to my DO staging server with deploy_finalize_after: "{{ playbook_dir }}/custom-hooks/finalize-build.yml" in my deploy.yml

This could stem from my inexperience with ansible so I’m going to do some reading before I keep pressing for answers. In the mean time I think I can manage with just running the final build commands on the staging environment.