Some checks failed
Documentation Lint & Validation / Markdown Linting (push) Has been cancelled
Documentation Lint & Validation / Validate mdBook Configuration (push) Has been cancelled
Documentation Lint & Validation / Content & Structure Validation (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Documentation Lint & Validation / Lint & Validation Summary (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
6.1 KiB
6.1 KiB
GitHub Actions CI/CD Setup Checklist
✅ mdBook Documentation Workflows
Workflows Installed
.github/workflows/mdbook-build-deploy.yml— Build & deploy mdBook.github/workflows/docs-lint.yml— Markdown & configuration validation.github/workflows/mdbook-publish.yml— Custom deployment trigger
Pre-Deployment Configuration
For GitHub Pages Deployment
- Go to Repository Settings → Pages
- Select Source: GitHub Actions
- Click Save
- (Optional) Add Custom domain (e.g., docs.vapora.io)
- (Optional) Enable Enforce HTTPS
For Custom Deployment
- Review
.github/workflows/mdbook-publish.yml - Add custom deployment script (S3, Docker, etc.)
- Add secrets in Settings → Secrets and variables → Actions
- Test with
git push origin mainto docs/
Documentation Files Created
docs/mdbook-setup.md— mdBook setup guidedocs/github-actions-setup.md— Complete workflow documentationdocs/deployment-guide.md— Deployment procedures.github/WORKFLOWS.md— Quick reference for developers
🚀 Initial Deployment Test
Local Testing
# Build locally
cd docs && mdbook build
# Verify output
ls -la docs/book/index.html
du -sh docs/book/
# Serve locally
mdbook serve
# Open http://localhost:3000
Trigger First Workflow
# Make a test commit to docs/
git add docs/README.md
git commit -m "test: trigger mdBook workflow"
git push origin main
# Monitor workflow
# Go to: Repository → Actions → mdBook Build & Deploy
Verify Workflow Execution
- Workflow triggered automatically
- Build job completed successfully
- Quality check passed
- Artifact uploaded (check Artifacts section)
- (If Pages enabled) Deployment job completed
- Check GitHub Actions workflow summary
📊 Post-Deployment Verification
GitHub Pages (if enabled)
- Go to Settings → Pages
- See message: "Your site is live at: https://..."
- Click link and verify site loads
- Test navigation
- Test search functionality
- Test dark mode toggle
- Verify on mobile device
Artifact Management
- Artifacts appear in workflow runs
- Download an artifact and verify structure
- Verify 30-day retention policy
- Check total artifact size
Workflow Monitoring
- Open workflow run details
- Verify all steps completed
- Check step summaries
- Review any warnings
🔐 Security Configuration
Branch Protection
- Go to Settings → Branches
- Add rule for
mainbranch - Enable "Require pull request reviews"
- Enable "Require status checks to pass"
- Select: mdBook Build & Deploy
- Select: docs-lint
Secrets Management
- If using custom deployment:
- Go to Settings → Secrets and variables → Actions
- Add deployment secrets (e.g., DEPLOY_TOKEN, AWS_KEY)
- Verify secrets not logged in workflow runs
- Set up secret rotation schedule
📚 Team Communication
Documentation Updates Needed
- Update main README.md with docs link
- Update CONTRIBUTING.md with doc workflow
- Update release notes template with docs updates
- Add link to
.github/WORKFLOWS.mdin project wiki
Team Notification
- Announce workflows to team
- Share
.github/WORKFLOWS.mdquick reference - Point to
docs/deployment-guide.mdfor deployment info - Schedule documentation training if needed
🔄 Operational Procedures
Weekly Checks
- Monitor workflow run times (should be ~1 min)
- Check for any failed runs
- Review artifact sizes
- Verify no broken links in quality checks
Monthly Maintenance
- Update workflow dependencies (if any)
- Review and rotate secrets if used
- Archive old artifacts (GitHub does auto-cleanup)
- Update documentation as needed
Before Major Release
- Build and test documentation locally
- Push to main to trigger full workflow
- Verify all checks pass
- Download and review artifact
- Verify GitHub Pages site (if enabled)
- Announce docs update to users
📞 Troubleshooting Reference
Workflow Fails
- Go to Actions → Failed workflow run
- Click job name to see logs
- Expand failed step for error details
- Compare with
.github/WORKFLOWS.mdtroubleshooting - Fix issue and push again
Links Broken
- Check
docs/src/SUMMARY.mdpaths - Verify files exist in referenced locations
- Use relative paths only:
../section/file.md - Rebuild locally to test
GitHub Pages Not Updating
- Wait 1-2 minutes
- Hard refresh (Ctrl+Shift+R)
- Check Settings → Pages → Source
- Verify workflow completed successfully
- Check Pages deployment job logs
📋 Final Verification
All Checks Passing
- Workflow files created
- Documentation files created
- mdBook builds successfully locally
- First workflow run successful
- All quality checks pass
- Artifacts generate correctly
- GitHub Pages shows docs (if enabled)
- Team notified
System Ready
- Documentation workflow automated
- Developers can push docs changes
- Changes automatically deployed
- Quality validated
- No manual deployment steps needed
📈 Success Metrics
Track these metrics going forward:
| Metric | Target | Current |
|---|---|---|
| Workflow run time | < 2 min | — |
| Build success rate | 100% | — |
| Artifact upload rate | 100% | — |
| Lint warning rate | < 5% | — |
| Pages uptime | 99.9% | — |
🎯 Next Steps
- Complete pre-deployment checklist above
- Configure GitHub Pages (if desired)
- Push test commit to trigger workflows
- Monitor first run in Actions tab
- Verify deployment (locally or on Pages)
- Notify team of new workflow
- Document findings in project wiki
- Schedule review in 1 week to confirm stability
Checklist Created: 2026-01-12
Status: Ready to Deploy
Support: See .github/WORKFLOWS.md for quick reference