florianmoser / plesk-deployer Goto Github PK
View Code? Open in Web Editor NEWDeployer common recipe fixes to deploy on shared hostings using Plesk
License: MIT License
Deployer common recipe fixes to deploy on shared hostings using Plesk
License: MIT License
First of all, let me say thanks for this recipe. It just helped me successfully deploy to Metanet.
Your deployer dependency is hardcoded to 5.1.1
though, which isn't really helpful. I've used deployer 4.3
and it worked fine with your recipe.
I suggest you relax the version requirement to something like: >=4.0 <6.0
I could imagine that it'll work with deployer v6 as well, so maybe the constraint could even be changed to >=4.0 <7.0
Thank you for this recipe. Although I couldn't use it directly for my use case it gave me good hints where the my issues were coming from and I was able to fix them.
Apparently at least since deployer version 7.x
, the GIT_SSH_COMMAND
environment variable is specifically set to ssh -o StrictHostKeyChecking=accept-new
(see here). Overriding this environment variable causes git fetch
to use this specified command instead of the default ssh
command (see here). Unfortunately it looks like this option is not supported on metanet which causes the deployment to fail. So to fix this you have to set it back to ssh
:
set('git_ssh_command', 'ssh');
This option would be useful though since it would just add new hosts to the known hosts file without asking and only asks in case an existing host changes... :) So one has to make sure the repository host is already added to the known host file before doing the deployment otherwise it will most likely fail too.
I know this is not really an direct issue for this repository since it appears to be targeted more generally to plesk hosts but since it is linked from the metanet SSH support page I though I could document this as a hint in case anyone faces the same issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.