Skip to content

Commit

Permalink
allow manual dispatch with release name
Browse files Browse the repository at this point in the history
  • Loading branch information
boringcactus committed Nov 15, 2023
1 parent 1dc6f3a commit 33ea0ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: ${{ github.event_name == 'workflow_dispatch' && format('Deploy {0} {1}

on:
workflow_dispatch:
inputs:
release-name:
description: The name to use for the created release
type: string
required: false
push:
branches: [main]

Expand All @@ -12,5 +17,6 @@ jobs:
uses: ./.github/workflows/deploy.yml
with:
env: staging
version-name: ${{ inputs.release-name }}
deploy-desc: ${{ github.ref_type }} ${{ github.ref_name }}
secrets: inherit

0 comments on commit 33ea0ee

Please sign in to comment.