I have a need to copy files from Github enterprise repo (to be more specific, whatever exists under master branch) to a directory in Linux VM from an Azure DevOps pipeline.
Here, I have listed few options that I found from documentation and few from Stack Overflow discussions, and why I do not like to opt these options:
Azure File Copy task requires intermediate storage account but I would not like to configure the same.
This discussion recommends SSH task. SSH task requires a private key to be configured on the target VM in addition to the VM user name and password. But, I would not like to configure the same. Can I push code from Azure devops to Azure VM?
This discussion recommends Windows File Copy task but I do not see something similar for LINUX. Obtain the artifact directory path as a relative path for the Release process
This discussion is closer to my need but I would not like to "deploy" but just "copy" Deploy python script to virtual machine from GitHub via Azure Pipeline
Appreciate a mindshare on this need. Thank you.