feat(ci): add workflow_dispatch for manual trigger

Allows manual execution from Gitea Actions UI
This commit is contained in:
2026-01-04 15:49:02 +00:00
parent 97dbe32354
commit c7155d0555

View File

@@ -9,6 +9,7 @@ on:
branches: [main]
paths:
- 'seedbox/**'
workflow_dispatch:
jobs:
deploy:
@@ -44,7 +45,7 @@ jobs:
echo "Validation complete."
- name: Deploy to seedbox
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
run: |
ssh -o StrictHostKeyChecking=accept-new debian@seedbox.taila5ad8.ts.net << 'ENDSSH'
set -e
@@ -80,7 +81,7 @@ jobs:
ENDSSH
- name: Deployment summary
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
run: |
echo "✅ Deployment complete!"
echo ""