Deploy Laravel project to Cpanel using Git extension
add .cpanel.yml' to your project and change theDEPLOYPATH` to your path
---
deployment:
tasks:
- export DEPLOYPATH=/home/username/public_html/
- /bin/cp -r * $DEPLOYPATH
git init
git add .
`git commit -m "First Commit"
git branch -M main
...
m5lil.hashnode.dev1 min read