stardothosting / jenkins-push-scripts

Jenkins push bash scripts for various platforms
https://www.shift8web.ca
GNU General Public License v3.0
14 stars 13 forks source link

wp maintenance-mode #1

Open mythnc opened 4 years ago

mythnc commented 4 years ago

First, thank you sharing this technic. I learn a lot of from these codes and articles.

I wonder instead of using Nginx setting and maintenance html files, how about changing maintenance mode by using wp-cli?

ref https://developer.wordpress.org/cli/commands/maintenance-mode/

mythnc commented 4 years ago

Method2 https://wordpress.stackexchange.com/questions/211303/wp-cli-enabling-maintainance-mode