Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Hepworth <[email protected]>
  • Loading branch information
Karl Hepworth committed Dec 5, 2023
1 parent e7d62bd commit 4d034e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 4d034e1

Please sign in to comment.