Hi,
I'm new to working with Git deployment and cPanel and I'm just trying to confirm my overall set up.
I would like to exclude/ignore only 3 or 4 files during the deployment process. The rest of my files will be updated periodically.
Would I be able to set up my cpanel.yml file as such?
I'm new to working with Git deployment and cPanel and I'm just trying to confirm my overall set up.
I would like to exclude/ignore only 3 or 4 files during the deployment process. The rest of my files will be updated periodically.
Would I be able to set up my cpanel.yml file as such?
Code:
---
deployment:
tasks:
- export DEPLOYPATH=/home/username/public_html/
-/bin/rsync -av --exclude='.git/' --exclude='.gitignore' --exclude='admin/config.php' mycomputer/locahost/path $DEPLOYPATH