Skip to content

Commit

Permalink
Allow deployment workflow to be triggered manually (#3259)
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj authored Oct 24, 2024
1 parent e4a190e commit edbd1b4
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
- .github/release.config.js
- .github/workflows/deployment.yml
- lerna.json
# workflow_dispatch:
# inputs:
# version:
# description: Override version to be published
# required: false
workflow_dispatch:
inputs:
version:
description: Override version to be published
required: false

jobs:
release:
Expand All @@ -27,6 +27,12 @@ jobs:
pull-requests: write

steps:
- name: Check permissions
if: ${{ github.event_name == 'workflow-dispatch' }}
uses: prince-chrismc/check-actor-permissions-action@v3
with:
permission: admin

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit edbd1b4

Please sign in to comment.