404 Error when manually deploying Git repo
Hi,
Needing some help deploying. Repo is linked and changes are committing just not deploying when I press Deploy HEAD Commit and 404 error showing in browser on domain (www.rose-long.com). Linked screenshot to file manager view for reference. My .cpanel.yml is looks like this:
---
deployment:
tasks:
-export DEPLOY_PATH=/home/roselong/public_html
-cd /home/roselong/repositories/return-to-source
-/usr/local/bin/yarn install
-/usr/local/bin/yarn build
-rsync -av --delete public/ $DEPLOY_PATH/
-rsync -av --delete .next/ $DEPLOY_PATH/.next
-
Hey there! Usually when I run into a Git issue of any type, I try the work again on the command line. the GUI tools don't always give the best, or most intuitive, error messages while the command line may give you some insights into the particular failure.
I'm not seeing anything wrong with your code there (although I personally don't use Git I had some other team members review this)
Can you try that and see if that helps at all?
0
Please sign in to leave a comment.
Comments
1 comment