Header

Prevent users from being able to deploy at certain times

Tutorials

Thumb1400

At certain times of day, or even days of the week you may wish to prevent users from being able to deploy an application. For example, on a Friday afternoon, or during the weekend when you might not be able to provide the same level of support as you would during normal working hours.

Deployment availability

With DeployHQ, you can set up times where deployments are restricted. During these periods, non-administrator users will not be able to make a new deployment and automatic deployments will be rejected. Only administrators will be able to make a new deployments but they will see a warning.

Restrictions will be applied during the time zone configured in your account settings (found in Settings -> Access and Account).

Timezone

Setting up deployment restrictions

To set it up, head to the Settings tab at the top of the screen, then Deployment Availability on the left hand side.

Deployment times

You'll find each weekday listed in order from Monday-Sunday, and you can drag the sliders to the left or to the right to change the available times for your deployments for each day. You can drag the sliders all the way to the left or to the right on a given day to fully restrict them.

Deploying during restricted times

As an administrator, when trying to deploy during a restricted time period you'll see a warning:

Admin warning

But you'll be able to continue your deployment if you wish.

As a standard user, a warning will be displayed, and if you attempt to deploy a second message will be shown:

User warning

Any automatic deployments triggered during a restricted time period will simply be rejected.

If you have any questions about this feature, or any other aspect of the DeployHQ service, please let us know.

A little bit about the author

I'm Adam W, or as everyone prefers to call me - Batman. I get a lot of satisfaction out of helping our customers and am committed to making their customer experience as positive as possible. When not offering support to our customers, you'll find me gaming, listening to music or running.