Whose Error Is It?
Bash printed this
bash: ./deploy.sh: Permission denied
What it meansThe shell cannot execute deploy.sh because the file lacks execute permission for your user or sits on a filesystem mounted noexec.
The first thing to checkRun chmod +x deploy.sh and try again, or run it as bash deploy.sh; in git, commit the mode with git update-index --chmod=+x deploy.sh.
The walrus sayschmod +x. Always chmod +x.