Skip to content

Add GitHub Pages deployment for docs.wolfssl.com#267

Open
MarkAtwood wants to merge 2 commits into
masterfrom
github-pages-deployment
Open

Add GitHub Pages deployment for docs.wolfssl.com#267
MarkAtwood wants to merge 2 commits into
masterfrom
github-pages-deployment

Conversation

@MarkAtwood

@MarkAtwood MarkAtwood commented Jun 8, 2026

Copy link
Copy Markdown

Summary

Adds automatic GitHub Pages deployment for all wolfSSL documentation to docs.wolfssl.com.

⏳ Status: Waiting for approval from Larry and Todd

Changes

  • GitHub Actions workflow that builds all 18+ manuals on push to master
  • Landing page with organized cards for all products
  • Custom domain configuration (docs.wolfssl.com)
  • Comprehensive setup documentation (GITHUB-PAGES-SETUP.md)
  • Deployment preparation guide (DEPLOYMENT-PREP.md)

How It Works

  1. Push to master triggers workflow
  2. Docker builds all manuals (MkDocs + Doxygen + Doxybook2)
  3. Organizes output into site structure (wolfssl/, wolfssh/, etc.)
  4. Generates landing page with links to all manuals
  5. Deploys to GitHub Pages

Key Benefits

vs. WordPress VM deployment:

  • 🌐 GitHub's CDN - Global edge caching (50+ locations) vs single VM in Ohio
  • Automatic & instant - Push to git = live docs in 20 minutes (no manual FTP)
  • 💰 Zero cost - Saves ~$600/year (was part of $50-100/month VM)
  • 🔒 More secure - Static files only (no PHP, no database, no server to compromise)
  • 🚀 Faster - CDN edge caching vs single VM
  • 📝 Version controlled - Git tracks all doc changes
  • CI/CD - Test builds on every PR

Cost Savings

Current (WordPress VM):  $615/year (hosting + ops time)
Proposed (GitHub Pages): $25/year  (minimal ops time)
Savings:                 $590/year (96% reduction)

Next Steps After Approval

  1. Merge this PR (requires approval from Larry/Todd, then repo admin can merge)
  2. Enable GitHub Pages:
    • Go to Settings → Pages
    • Source: GitHub Actions
    • Custom domain: docs.wolfssl.com
  3. Configure DNS:
    docs.wolfssl.com
      A     185.199.108.153
      A     185.199.109.153
      A     185.199.110.153
      A     185.199.111.153
    
  4. Wait ~20 minutes for first build
  5. Verify: https://docs.wolfssl.com/

Risk & Rollback

Risk level: LOW

  • Easy rollback: Point DNS back to WordPress VM (5 minutes)
  • WordPress docs stay in place for 30-day validation period
  • Can run both old and new in parallel

Validation period: 30 days with both sites running before removing docs from WordPress VM

Documentation

  • DEPLOYMENT-PREP.md - Complete deployment checklist, timeline, risk assessment, cost analysis
  • GITHUB-PAGES-SETUP.md - Architecture, DNS config, local testing, troubleshooting

Full details in deployment prep doc. Total deployment time: ~1 hour active work + 20 min automated build.


📧 Pitch email drafted for Larry/Todd

🤖 Ready to decommission docs from WordPress VM after DNS cutover

Copilot AI review requested due to automatic review settings June 8, 2026 23:53
@MarkAtwood

Copy link
Copy Markdown
Author

Update: This PR is ready for technical review and awaiting business approval from Larry and Todd.

Pitch email drafted at ~/.drafts/docs-wolfssl-com-pitch.eml - ready to send when appropriate.

Quick summary for reviewers:

  • Automatic deployment of all product docs to docs.wolfssl.com
  • Uses GitHub's CDN (global edge caching)
  • Zero hosting cost (saves ~$600/year)
  • Deploy time: 20 minutes from git push to live
  • Low risk: easy 5-minute rollback, 30-day validation period

See DEPLOYMENT-PREP.md for complete deployment checklist and cost analysis.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Set up automatic deployment of all wolfSSL documentation to docs.wolfssl.com:

- GitHub Actions workflow builds all 18+ manuals on push to master
- Organized site structure: each manual in its own subdirectory
- Landing page with cards for all products (core, additional, wrappers, guides)
- Both HTML and PDF available for each manual
- Custom domain configured (docs.wolfssl.com)
- Automatic deployment via GitHub Pages

Advantages over WordPress VM:
- Zero hosting cost (was part of $50-100/month VM)
- Automatic deployment (was manual FTP)
- Version controlled (git tracks all changes)
- CI/CD pipeline (test builds on every PR)
- More secure (static files, no server to compromise)
- Faster (CDN edge caching vs single VM)
- Better developer experience (git workflow vs FTP)

Build time: ~15-20 minutes for all manuals
DNS setup required: Point docs.wolfssl.com A records to GitHub Pages IPs

Created comprehensive setup guide in GITHUB-PAGES-SETUP.md covering:
- Architecture and site structure
- DNS configuration
- Adding new manuals
- Local testing
- Comparison to WordPress VM
- Migration plan
- Troubleshooting
Comprehensive pre-deployment documentation covering:
- Technical prerequisites (all complete)
- Step-by-step deployment checklist
- Timeline (1 hour active work + 20 min automated)
- 30-day validation period plan
- Rollback procedures (5 minutes to revert)
- Risk assessment (low risk across the board)
- Cost analysis ($590/year savings, 96% reduction)
- Benefits summary for all stakeholders
- Success criteria and rollback triggers
- Q&A section
- Communication plan

Makes business case clear: faster, cheaper, more secure, automatic.

Ready for executive approval to proceed with migration.
@MarkAtwood MarkAtwood force-pushed the github-pages-deployment branch from a4a1567 to bcc450d Compare June 9, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants