/home/user/repository/ is a git repository, it is a Laravel directory that includes:
.git/
app/
public/
config/
routes/
datatbase
.cpanel.yml
server.php
....
and the root directory /home/user/ includes default cpanel folders plus the content of /home/user/repository/ except:
public_html/ instaed of public/ with the same content
no .git/ folder
how to customize .cpanel.yml to:
- copy all directories from /home/user/repository/ to /home/user/ except public/ and .git/
- copy the content of /home/user/repository/public/ to /home/user/public_html/
.git/
app/
public/
config/
routes/
datatbase
.cpanel.yml
server.php
....
and the root directory /home/user/ includes default cpanel folders plus the content of /home/user/repository/ except:
public_html/ instaed of public/ with the same content
no .git/ folder
how to customize .cpanel.yml to:
- copy all directories from /home/user/repository/ to /home/user/ except public/ and .git/
- copy the content of /home/user/repository/public/ to /home/user/public_html/