{"_id":"573ed4bea233380e005db155","project":"56b86cc286d2b0190070bcda","user":"56b86c990094520d006b3c33","parentDoc":null,"version":{"_id":"573ed4bea233380e005db14d","__v":2,"project":"56b86cc286d2b0190070bcda","createdAt":"2016-05-20T09:11:26.847Z","releaseDate":"2016-05-20T09:11:26.847Z","categories":["573ed4bea233380e005db14e","573ed4bea233380e005db14f","573ed4bea233380e005db150","578bcf36bb7d810e00e01c05"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"master","version_clean":"0.3.0-0.4","version":"0.3-0.4"},"category":{"_id":"573ed4bea233380e005db14f","__v":0,"version":"573ed4bea233380e005db14d","project":"56b86cc286d2b0190070bcda","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-08T11:20:51.134Z","from_sync":false,"order":1,"slug":"tasks","title":"Tasks"},"githubsync":"","__v":1,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-09T14:08:52.787Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"Uploads the maintenance page to the workspace and links the maintenance page to the specified stage based on the configured strategy.\n\n## Configuration options\n\n| Name | Type | Default value | Description |\n|------|------|---------------|-------------|\n| strategy | string | major_difference | The strategy specifying when to link the maintenance page. The strategy must be one of the following options:<ul><li>major_difference - Link the maintenance page on a major version change.</li><li>minor_difference - Link the maintenance page on a major or minor version change.</li><li>always - Always link the maintenance page.</li></ul> |\n| documentRoot | string |  | The relative document root subdirectory when the document root of your project resides in a subdirectory. |\n\n# Event flow\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/F6Jak8mzQ9a2EcVGq6hX_MaintenanceModeTask.png\",\n        \"MaintenanceModeTask.png\",\n        \"883\",\n        \"923\",\n        \"#d0d0d0\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"maintenancemodetask","type":"basic","title":"MaintenanceModeTask"}

MaintenanceModeTask


Uploads the maintenance page to the workspace and links the maintenance page to the specified stage based on the configured strategy. ## Configuration options | Name | Type | Default value | Description | |------|------|---------------|-------------| | strategy | string | major_difference | The strategy specifying when to link the maintenance page. The strategy must be one of the following options:<ul><li>major_difference - Link the maintenance page on a major version change.</li><li>minor_difference - Link the maintenance page on a major or minor version change.</li><li>always - Always link the maintenance page.</li></ul> | | documentRoot | string | | The relative document root subdirectory when the document root of your project resides in a subdirectory. | # Event flow [block:image] { "images": [ { "image": [ "https://files.readme.io/F6Jak8mzQ9a2EcVGq6hX_MaintenanceModeTask.png", "MaintenanceModeTask.png", "883", "923", "#d0d0d0", "" ] } ] } [/block]