Cpanel auto-deploy from git
Hi,
I am going to implement an automated deployment pipeline for laravel.
The purpose is quite straightforward. (1) Get the website files from git to server, (2) copy all files except one directory to location A, (3) copy the exception directory to location B. job done!
I do not find any documentation for the available commands in .cpanel.yml. Do you have any idea please?
-
Thanks but I cannot connect to the content that is probably I am not a technical person. It is about deployment using PHP and panel API. My question is more like how to copy files using .cpanel.yml. 0 -
You can use bash commands in the .cpanel.yml file which means you can use cp to copy files. 0 -
Thanks for your reply. Please can you provide an example of this in a simple .cpanel.yml? 0 -
The thread here has a great example: But there are a ton of other threads you can find on the forums with other examples as well using the search feature 0
Please sign in to leave a comment.
Comments
5 comments