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