diff --git a/.github/workflows/slack-deploy-notify.yml b/.github/workflows/slack-deploy-notify.yml index c0cc6d1..b853ccc 100644 --- a/.github/workflows/slack-deploy-notify.yml +++ b/.github/workflows/slack-deploy-notify.yml @@ -72,7 +72,7 @@ jobs: }, { "type": "mrkdwn", - "text": "*Environment*\n${{ github.event.inputs.environment }}" + "text": "*Environment*\n${{ inputs.environment || github.event.inputs.environment || 'production' }}" } ] }, @@ -94,7 +94,7 @@ jobs: "fields": [ { "type": "mrkdwn", - "text": "*Initiated by*\n@${{ github.event.inputs.actor || 'GitHub' }}" + "text": "*Initiated by*\n@${{ github.event.inputs.actor || inputs.actor || 'GitHub' }}" } ] }