forked from gbougakov/no-deploy-friday
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
41 lines (41 loc) · 974 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 'Deploy Core Hours'
description: 'This GitHub Action will prevent you from auto deploying during non-core hours, and (UPS) holidays.'
inputs:
timezone:
description: 'Timezone'
required: false
default: 'UTC'
dayStartHour:
description: 'Start of working hours'
required: false
default: 9
dayEndHour:
description: 'End of working hours'
required: false
default: 17
deployMonday:
description: 'Deploy on Mondays?'
required: false
default: true
deployTuesday:
description: 'Deploy on Tuesdays?'
required: false
default: true
deployWednesday:
description: 'Deploy on Wednesdays?'
required: false
default: true
deployThursday:
description: 'Deploy on Thursdays?'
required: false
default: true
deployFriday:
description: 'Deploy on Fridays?'
required: false
default: true
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'clock'
color: 'purple'