Skip to content

Commit 8f91cfa

Browse files
dmealingclaude
andcommitted
Fix deployment conditional logic preventing manual documentation deployment
- Update deploy job condition to allow workflow_dispatch events (manual triggers) - Previous condition only allowed pushes to main/master, blocking manual deployment - Now supports: push to main/master OR manual workflow_dispatch from any branch - Resolves 404 errors when manually deploying documentation from develop branch - Deployment step was being skipped, causing build success but no actual deployment 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5e1100d commit 8f91cfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ jobs:
8484
with:
8585
path: docs/src/site/documentation/site
8686

87-
# Deploy job - only on main/master branch pushes
87+
# Deploy job - on main/master pushes OR manual workflow dispatch
8888
deploy:
89-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
89+
if: (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')) || github.event_name == 'workflow_dispatch'
9090
environment:
9191
name: github-pages
9292
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)