Hi,
I use small shell script to deploy code to my application server.
Right now I was following this steps:
sh deploy-frontend-staging.sh
cd ../backend/ruby
bundle exec mina passenger_restart TO=staging
It works as expected. But I thought to add the last 2 lines in the shell script
itself, and it is like below:
ssh address@hidden "rm -rf /home/application/shared/public/inspection_tool/*"
scp -r dist/* address@hidden:application/shared/public/inspection_tool/
cd ../backend/ruby
bundle exec mina passenger_restart TO=staging
Now when I run the script, I get below error:
deploy-frontend-staging.sh: line 4: bundle: command not found
What I need to fix in this script?