Skip to content

Commit 17b3df1

Browse files
committed
add dispatch confirmation
1 parent a9a954c commit 17b3df1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
paths-ignore:
77
- '.github/**'
88
workflow_dispatch:
9+
inputs:
10+
confirm_manual_deploy:
11+
description: 'Are you *sure* a manual deployment is absolutely necessary?'
12+
required: true
13+
type: boolean
14+
default: false
915

1016
permissions:
1117
contents: write
@@ -19,6 +25,7 @@ concurrency:
1925
jobs:
2026
thumbnails:
2127
runs-on: ubuntu-latest
28+
if: github.event_name != 'workflow_dispatch' || inputs.confirm_manual_deploy
2229

2330
steps:
2431
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)