I'm using the following settings in my .cpanel.yml file
This works fine for copying but not when a file was deleted in the repository.
What's the recommended setting for "syncing" (add/update/delete) files when deploying?
Code:
---
deployment:
tasks:
- export DEPLOYPATH=/home/example/public_html/
- /bin/cp -a * $DEPLOYPATH
What's the recommended setting for "syncing" (add/update/delete) files when deploying?