Skip to content

Deploy Core Hours

Actions
This GitHub Action will prevent you from auto deploying during non-core hours, and (UPS) holidays
v2.0
Latest
Star (4)

Deploy Core Hours

This GitHub Action will prevent you from auto deploying during non-core hours, and (UPS) holidays.

Inputs

timezone

Required Your local timezone. Default "UTC".

dayStartHour

Default 9.

dayEndHour

Default 17(5pm).

deploy<DAY_OF_WEEK>

Default true.

Example usage

name: Deploy Core Hours

on:
  pull_request:
    branches:
      - 'main'

jobs:
  no_deploy_friday_job:
    runs-on: ubuntu-latest
    name: Deploy?
    steps:
    - name: Deploy Core Hours
      uses: quiltt/deploy-core-hours@v2.0
      with:
        timezone: 'America/New_York'
        dayStartHour: 10
        dayEndHour: 17
        deployFriday: false

Deploy Core Hours is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This GitHub Action will prevent you from auto deploying during non-core hours, and (UPS) holidays
v2.0
Latest

Deploy Core Hours is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.