Enable manual workflow triggers

This commit is contained in:
doomtube 2026-01-05 23:37:40 -05:00
parent c717c3751c
commit 2aa075e842
2 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,7 @@ on:
branches: [main, master] branches: [main, master]
pull_request: pull_request:
branches: [main, master] branches: [main, master]
workflow_dispatch: # Enable manual trigger
env: env:
REGISTRY: qbit.realms.pub REGISTRY: qbit.realms.pub

View file

@ -12,6 +12,7 @@ on:
workflows: ["Build and Push"] workflows: ["Build and Push"]
types: [completed] types: [completed]
branches: [main, master] branches: [main, master]
workflow_dispatch: # Enable manual trigger
env: env:
REGISTRY: qbit.realms.pub REGISTRY: qbit.realms.pub
@ -19,8 +20,8 @@ env:
jobs: jobs:
deploy: deploy:
# Only deploy if the build succeeded # Only deploy if build succeeded OR manual trigger
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: docker runs-on: docker
steps: steps: