instride-ch / pimcore-deployer

Pimcore Deployer Script
Other
30 stars 5 forks source link

Problem Cloning from git (at 'deploy:update_code'). #4

Closed zwif closed 5 years ago

zwif commented 5 years ago

I'm facing a server setup in which I can't access the git server from the server to which I want deploy.

This means the deploy task will fail at deploy:update_code since it obvisously can't update the code.

Following Idea: I could add a git remote at the 'deploy-server'. Before deploying I could push manually the latest changes to that server. Then it would be needed to tell the deploy:update_code to not clone the files from a git server but reading it from a given directory.

Is that possible? Or Is there any other workaround for such a situation?

Thanks in advance!

dpfaffenbauer commented 5 years ago

yes, read the deployer docs pls:

https://deployer.org/docs/advanced/deploy-strategies.html

zwif commented 5 years ago

Thanks, the information, that this repo utilizes Deployer, is IMO quite important. I would highly appreciate if such information would be given in the readme!

dpfaffenbauer commented 5 years ago

well, its called pimcore-deployer... so, there is the hint

zwif commented 5 years ago

It is a hint if you are, unlike me for example, know about "deployer". I think "explicit is better than implicit". But nevermind it's your repo.

aarongerig commented 5 years ago

@zwif No, you‘re totally right. We could be more clear about certain things. I will add this to the README once I find the time.