Deployment via GIT creates new folders
I have setup the .cpanel.yml file with all the needed information. The first deployment creates the folder and deploys all the files in the specified directory (). The next deployment will create a new subfolder within the created folder () and deploys all the information into this folder.
How should i setup the yml file, to make sure it deploys to the samen directory each time?
[CODE=bash]
- export DEPLOYPATH=/home//public_html//
- /bin/cp -R /home//repositories//src $DEPLOYPATH
Please sign in to leave a comment.
Comments
0 comments