Skip to content

Commit

Permalink
Speed up deploy, by cancelling crons.
Browse files Browse the repository at this point in the history
  • Loading branch information
rasben committed Aug 11, 2023
1 parent f0a40b5 commit fd01f3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ inputs:
required: false
type: integer

ALLOW_CANCEL_CRON:
description: "Can we cancel on-going crons, to speed up deployment? default: 0"
default: 0
required: false
type: integer

outputs:
status:
description: 'Status information (Exists if fail)'
Expand All @@ -47,6 +53,7 @@ runs:
PLATFORMSH_KEY: ${{ inputs.PLATFORMSH_KEY }}
ENVIRONMENT_NAME: ${{ inputs.ENVIRONMENT_NAME }}
DEPLOY_WAIT_TIME: ${{ inputs.DEPLOY_WAIT_TIME }}
ALLOW_CANCEL_CRON: ${{ inputs.ALLOW_CANCEL_CRON }}

- name: Check latest deploy status
shell: bash
Expand Down

0 comments on commit fd01f3c

Please sign in to comment.