From fd01f3c01856d8025da09f1437f711dce6650d5b Mon Sep 17 00:00:00 2001 From: Benjamin Rasmussen Date: Fri, 11 Aug 2023 23:45:45 +0200 Subject: [PATCH] Speed up deploy, by cancelling crons. --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 758a40d..2f66f0d 100644 --- a/action.yml +++ b/action.yml @@ -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)' @@ -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