-
Notifications
You must be signed in to change notification settings - Fork 683
Open
Labels
Description
Description
While performing CMS upgrades using project config, it is often required to put the site into "offline" mode first (using the craft off command) before performing system upgrades. During upgrades, it is also common to apply changes to the CraftCMS Project Config.
In Project Config (project.yaml) there is this value:
system:
live: true
Then, when running craft project-config/apply, it takes the site out of "offline" mode and turns it back on to "online" mode, possibly before the developers/operations people are ready.
Might it be possible for craft off to temporarily supercede the value in the Project Config and for the site to remain in "offline" mode until the craft on command is issued?
Steps to reproduce
- Take any CraftCMS site setup using Project Config.
- Run
craft off. - Apply the Project Config:
craft project-config/apply. - Observe the site is now back in "online" mode.
MoritzLost, GaryReckard, bencresty and wallacio