demental / wp-deploy-flow Goto Github PK
View Code? Open in Web Editor NEWA wp-cli command to deploy your wordpress instance.
A wp-cli command to deploy your wordpress instance.
@see https://github.com/demental/wp-deploy-flow/blob/master/lib/command.php#L26
as the site_url is trimed we cannot deploy from, for http://staging.devcentral.com/blog/ to http://prod.mysite.com/blog/
Do you see any drawback to removing the trim ?
Hello,
I'm accessing my staging environment using public/private key authentication and an alias in my ~/.ssh/config file. Thus, accessing my staging server with ssh is only done like this :
ssh my-staging
I installed this plugin, it works in --dry-run mode, but in live mode, I'm asked for a password that is not my key passphrase.
It looks like the rsync command is issued like that :
rsync -avz -e 'ssh -p 22' @My-Staging:/path (etc)
I modified puller.php to add @ mark only if $ssh_user is set which works better with this setup. Before I submit a pull request, is there another way to handle this kind of ssh authentication that I haven't found yet ?
Btw, many thanks for this plugin that is exactly what I wanted to do :)
Alain
I'm wondering if the wp migrate to
command could be replaced with wp search-replace
, which is built into WP-CLI.
This would remove two dependencies:
wp migrate
command for the pluginWhen I run wp deploy push staging
I don't get any errors and everything appears to be working but when I check my staging site only file updates have been pushed, no database changes.
What configurations might be wrong, or what could I give more details on in order to help troubleshoot this problem?
PHP Warning: constant(): Couldn't find constant ENVIRONMENT_LOCKED in /var/www/wordpress/hokorawa.net/test/public/wp-content/plugins/wp-deploy-flow-master/lib/command.php on line 73
Warning: constant(): Couldn't find constant ENVIRONMENT_LOCKED in /var/www/wordpress/hokorawa.net/test/public/wp-content/plugins/wp-deploy-flow-master/lib/command.php on line 73
wp migrate to /var/www/wordpress/hokorawa.net/test/public/ http://test.hokorawa.net dump.sql
Warning: The wp migrate to
command has an invalid synopsis part: output_folder
Warning: The wp migrate to
command has an invalid synopsis part: output_host
Warning: The wp migrate to
command has an invalid synopsis part: filename
Warning: Too many positional arguments: /var/www/wordpress/hokorawa.net/test/public/ http://test.hokorawa.net dump.sql
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.