diff --git a/scripts/after-deploy.sh b/scripts/after-deploy.sh index 53d9584..775692e 100644 --- a/scripts/after-deploy.sh +++ b/scripts/after-deploy.sh @@ -4,7 +4,7 @@ REPOSITORY=/home/ubuntu/build cd $REPOSITORY -echo "1234" | sudo -S yarn -echo "1234" | sudo -S yarn db:pull -echo "1234" | sudo -S yarn generate -echo "1234" | sudo -S pm2 start dist +echo "1234" | sudo -S /usr/bin/yarn +echo "1234" | sudo -S /usr/bin/yarn db:pull +echo "1234" | sudo -S /usr/bin/yarn generate +echo "1234" | sudo -S /usr/bin/pm2 start dist