Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages