Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Is it possible to automatically run some wp-cli commands after staging



Normal Mode | Print  

 Is it possible to automatically run some wp-cli commands after staging (2 Replies, Read 27032 times)
ratcliffe_mike
Group: Member
Post Group: Newbie
Posts: 2
Status:
Is it possible to automatically run some wp-cli commands after staging. This would make your Wordpress staging even more useful.
This is my ideal workflow:
  1. Click "Create Staging" button.
  2. The staging instance is created and then two wp_cli commands are automatically run: i) wp plugin deactivate plugin1 plugin2 ii) wp db query "SQL query to update plugin keys"
  3. Make changes on staging instance.
  4. Click "Push to live"
  5. The staging instance is piushed to live and then two wp_cli commands are automatically run: i) wp plugin activate plugin1 plugin2 ii) wp db query "SQL query to update plugin keys"
IP: --   


Threads
 ratcliffe_mike   Is it possible to automatically run some wp-cli commands after staging (2 Replies, Read 27032 times)
    |--  Brijesh   Hi, Sorry for...   on May 14, 2021, 2:32 pm
    |--  ratcliffe_mike   Perfect, that looks...   on May 14, 2021, 2:41 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
8 guests, 0 users.


All times are GMT. The time now is July 26, 2021, 3:48 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:2.108