问题
I am building an application for OS(OpenShift) and was wondering is it possible to deploy code which is not in the git repo, like uploading plugins to a wordpress site?
NOTE
The application is not a WP site, nor related in any way to a similar CMS. SO i need a way to deploy additional code after deployment without pushing it to the repo.
回答1:
As Nam said, you can just use scp, sftp etc. However, keep in mind that this could cause problems down the road as when you scale up we rsync the repo over.
来源:https://stackoverflow.com/questions/18695599/deploying-applications-on-openshift