I'm using Forge to deploy a non-laravel site to my digital ocean server.
I haven't updated the site in 4 months (it's a static one pager), but now when I push my changes to GitHub, the Forge deployment script fails and gives this error:
From github.com:kevinjohn/project
* branch master -> FETCH_HEAD
c02ef13..7d52b03 master -> origin/master
Updating c02ef13..7d52b03
Fast-forward
public/content/kevinjohn/style.css | 1 +
1 file changed, 1 insertion(+)
/home/forge/.forge/provision-3384542.sh: line 5: --composer: command not found
I've checked that forge can SSH into the server still. Thoughts?
Looks like after whatever move @TaylorOtwell has done to take Forge away from Linode, the deployment scripts have all be returned to standard. Mine was 2 lines long, and is now 5 lines long.
I've re-edited, and deployment worked.
P.S. Just checked, and 4 deployment scripts have all been reset. 99.% likely only to affect people not deploying a Laravel app.
Yes. Per my original comment: "If not, then edit your deploy script and remove anything calling composer (I think by default it'll do composer install)."
Hm, I just checked on this in the Forge DB and I'm seeing custom deployment scripts carried over just fine. I checked several sites and their custom deploy commands were in place and the sites had not been updated since the migration. I'm not sure why yours seem to not have carried over.