Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Lock down docs deployment to main branch only
- Remove migrate-tutorials branch from deployment triggers
- Remove PR builds entirely
- Only build and deploy when tutorials/ directory changes on main
- Manual workflow dispatch still available for emergency deployments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
  • Loading branch information
jakedahn and claude committed Oct 6, 2025
commit 3d6abf02d9e3ca4fc24ca020d0c1ee5bb7391e09
9 changes: 2 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Deploy MyST Documentation

on:
push:
branches: [main, migrate-tutorials]
paths:
- "tutorials/**"
- ".github/workflows/deploy-docs.yml"
pull_request:
branches: [main]
paths:
- "tutorials/**"
Expand Down Expand Up @@ -57,8 +52,8 @@ jobs:
path: "tutorials/_build/html"

deploy:
# Only deploy from main and migrate-tutorials branches, not from PRs
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/migrate-tutorials')
# Only deploy from main branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down