작성
·
392
1
======CMD======
19./deploy.sh
20======END======
212023/03/05 13:19:14 Process exited with status 127
22err: bash: ./deploy.sh: No such file or directory
deploy.sh 파일이 없다고 하는 것 같은데
확인해보면 잘 존재해 있습니다.
#!/bin/bash
source ~/.bash_profile
cd ~/git/backfront/
git pull origin main
cd frontend/
npm i
npm run build
cp -rf dist/* ../backend/public
cd ../backend/
npm i
pm2 stop web
pm2 start bin/www --name web --update-env
sleep 2
pm2 list
도와주십시오ㅠ