Enable manual workflow triggers
This commit is contained in:
parent
c717c3751c
commit
2aa075e842
2 changed files with 4 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ on:
|
|||
workflows: ["Build and Push"]
|
||||
types: [completed]
|
||||
branches: [main, master]
|
||||
workflow_dispatch: # Enable manual trigger
|
||||
|
||||
env:
|
||||
REGISTRY: qbit.realms.pub
|
||||
|
|
@ -19,8 +20,8 @@ env:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
# Only deploy if the build succeeded
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
# Only deploy if build succeeded OR manual trigger
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue