Skip to content

Commit fd01f3c

Browse files
committed
Speed up deploy, by cancelling crons.
1 parent f0a40b5 commit fd01f3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

action.yml

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ inputs:
3333
required: false
3434
type: integer
3535

36+
ALLOW_CANCEL_CRON:
37+
description: "Can we cancel on-going crons, to speed up deployment? default: 0"
38+
default: 0
39+
required: false
40+
type: integer
41+
3642
outputs:
3743
status:
3844
description: 'Status information (Exists if fail)'
@@ -47,6 +53,7 @@ runs:
4753
PLATFORMSH_KEY: ${{ inputs.PLATFORMSH_KEY }}
4854
ENVIRONMENT_NAME: ${{ inputs.ENVIRONMENT_NAME }}
4955
DEPLOY_WAIT_TIME: ${{ inputs.DEPLOY_WAIT_TIME }}
56+
ALLOW_CANCEL_CRON: ${{ inputs.ALLOW_CANCEL_CRON }}
5057

5158
- name: Check latest deploy status
5259
shell: bash

0 commit comments

Comments
 (0)