Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ryihan committed May 1, 2021
1 parent 6806f0e commit 0193b68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Deploy/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ then
ssh -i /root/.ssh/id_rsa -t $SSH_USER@$SSH_HOST "sudo chmod 775 -R $PATH_SOURCE"
ssh -i /root/.ssh/id_rsa -t $SSH_USER@$SSH_HOST "sudo chmod 777 -R $PATH_SOURCE/storage"
ssh -i /root/.ssh/id_rsa -t $SSH_USER@$SSH_HOST "sudo chmod 777 -R $PATH_SOURCE/public"
echo $'\n' "------ CONGRATS! DEPLOY SUCCESSFUL!!! ---------" $'\n'
exit 0
else
echo $'\n' "------ DEPLOY FAILED! -------------------------" $'\n'
exit 1
fi

0 comments on commit 0193b68

Please sign in to comment.