From 4d034e1f6fce0b20c3cf265342023ce28ad728a1 Mon Sep 17 00:00:00 2001 From: Karl Hepworth Date: Wed, 6 Dec 2023 10:02:56 +1100 Subject: [PATCH] rename param Signed-off-by: Karl Hepworth --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 47e7d30..1ede776 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ on: version_from_env: type: string description: Get the version to deploy from the environment. - pause_cron: + suspend_cron: type: boolean default: false description: Pause Cron operations during the deployment. @@ -88,12 +88,12 @@ jobs: if: inputs.package run: skpr package ${{ steps.version.outputs.version }} - name: ⏸️ Suspend Cron - if: inputs.pause_cron + if: inputs.suspend_cron run: skpr cron suspend ${{ inputs.env }} --wait - name: 🚀 Deploy run: skpr deploy ${{ inputs.env }} ${{ steps.version.outputs.version }} - name: ▶️ Resume Cron - if: inputs.pause_cron + if: inputs.suspend_cron run: skpr cron resume ${{ inputs.env }} - name: 🧹 Post-deploy run: skpr exec ${{ inputs.env }} ${{ inputs.post_deploy }}