You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to deploy individual files/folder changes to root folder destination, however it seems the provided code does not work. Below is the yml I am trying in Magento 2 to check if file level changes are updated on public_html but it seems it is not working and does nothing.
The code only works if you copy entire root to destination which is not practical in real time as no one would want to replace files/folders that are not committed.
Thanks.
The text was updated successfully, but these errors were encountered:
@Vikram0811 I am unsure of how to help you. The script functions as intended as long as you have followed the readme and configured the file correctly.
It is a script that CPanel runs for you should you wish to use CPanel to copy your repo as opposed to using ssh or a webhook etc.
If you only want to copy individual files simply modify the cp command to only include only those files. The example cp commands in the yml file are just some that I found to be common, but any form of the cp command could be used. In reality it is simply a copy command, so no it cannot differentiate between files that have been updated in the last commit and files than have not.
Please look through the readme and the example file again and I also suggest looking at the CPanel documentation perhaps they have a use case similar to your needs.
I have been trying to deploy individual files/folder changes to root folder destination, however it seems the provided code does not work. Below is the yml I am trying in Magento 2 to check if file level changes are updated on public_html but it seems it is not working and does nothing.
The code only works if you copy entire root to destination which is not practical in real time as no one would want to replace files/folders that are not committed.
Thanks.
The text was updated successfully, but these errors were encountered: