Given the message No such file or directory
, any chance your americanshoaltheme
isn’t there in web/app/themes
on the server before the rsync is executed? Seems like rsync is failing because the specified destination path doesn’t exist. The rsync copies over your dist
directory, but the rest of your theme needs to be there first.
What approach are you taking to deploying your theme?
- The recommended approach is to commit your theme to the repo that will be cloned and deployed.
- If that repo above is structured like the example project (vs. structured like just a bedrock repo that includes a theme), you’d also need to uncomment
subtree: site
, as it is in the example project - If you’re taking some other approach to getting the rest of your theme on the server, let us know what it is.
If the repo does include the theme, you might ensure that you have the latest Trellis to avoid the problem fixed by roots/trellis#299.
If you are somehow getting your theme files on there, could you run the deploy once more, let it fail, then ssh into the server and see whether the web/app/themes/americanshoaltheme
destination path exists?