Skip to content

Commit ecd7484

Browse files
authored
Manual deployment button
I hope we don't ever use this, but this adds a button to manually deploy via GitHub actions if necessary while testing. ONE-CLICK DEPLOYMENT! For info check out https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#manual-events
1 parent eefad33 commit ecd7484

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/Auto-Deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ on:
55
# Triggers the workflow on push
66
push:
77
branches: [ main ]
8+
9+
# Allows manual deployment if required
10+
workflow_dispatch:
11+
inputs:
12+
reason:
13+
description: 'Reason for manual deployment..'
14+
required: false
15+
default: 'testing'
816

917
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1018
jobs:

0 commit comments

Comments
 (0)