chore(ci): Add confirmation to hotfix (#4132)

Adds another step to give pause.

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com>
This commit is contained in:
Jamil
2024-03-15 15:14:08 -07:00
committed by GitHub
parent 3ced2b3a20
commit 194e8ae579

View File

@@ -3,6 +3,9 @@ run-name: Triggered by ${{ github.actor }} on ${{ github.event_name }}
on:
workflow_dispatch:
inputs:
confirmation:
description: "Are you SURE you want to deploy all changes from the selected commit to production?"
type: boolean
tag:
description: "Image tag to deploy. Defaults to the last commit SHA in the branch."
type: string
@@ -30,6 +33,7 @@ jobs:
# client_tag: "latest"
deploy-production:
if: ${{ inputs.confirmation }}
needs: compatibility-tests
secrets: inherit
uses: ./.github/workflows/_deploy_production.yml