A complete GitHub Pages site has been set up to display real-time metadata validation results from your GitHub Actions workflow.
- docs/index.html - Main dashboard with responsive design
- docs/assets/style.css - Professional styling with light theme
- docs/assets/validation.js - Dynamic data loading and display
- docs/validation_results.json - Sample data (auto-generated by workflow)
- docs/README.md - Comprehensive documentation
- GITHUB_PAGES_SETUP.md - Quick setup guide
The .github/workflows/validate-metadata.yml file has been modified to:
- Generate validation results in JSON format
- Automatically deploy to GitHub Pages on every master branch run
- Summary Cards: Status, file count, errors, warnings
- Metadata Display: Timestamp, trigger, branch, schema version
- Issues List: Detailed breakdown of errors and warnings per study
- Success Message: When all validations pass
- Responsive Design: Works on all devices
- 🟢 Green: Validation passed
- 🔴 Red: Validation failed with errors
- 🟡 Yellow: Warnings present
- ℹ️ Blue: Information and metadata
- Go to Settings → Pages
- Source: Branch
gh-pages, folder/ (root) - Save
- Go to Settings → Actions → General
- Workflow permissions: Read and write
- Allow Actions to create PRs: ✓
- Save
Either:
- Push these changes to master, OR
- Manually trigger from Actions tab
After setup, your dashboard will be live at:
https://waldronlab.github.io/curatedMetagenomicDataCuration/
The dashboard automatically updates when:
- ✓ Metadata files change (push to master)
- ✓ Pull requests with metadata changes (validation only)
- ✓ Daily at 2 AM UTC
- ✓ Schema updates in OmicsMLRepoCuration
- ✓ Manual workflow trigger
Detailed guides available:
- GITHUB_PAGES_SETUP.md - Quick start guide
- docs/README.md - Complete documentation with troubleshooting
- Commit & Push the new files
- Workflow runs and validates metadata
- JSON file generated with results
- Dashboard deployed to GitHub Pages
- View results at your GitHub Pages URL
The dashboard is already viewable locally! It should have opened in your browser showing the sample data (all passing validation).
Metadata Files (*.tsv)
↓
GitHub Actions Workflow
↓
Validation with OmicsMLRepoCuration
↓
validation_results.json
↓
GitHub Pages Deployment
↓
Live Dashboard
- Bookmark the dashboard URL for quick access
- Check before merging PRs to ensure validation passes
- Share with team for transparency
- Monitor daily for schema compatibility
All files are ready. Just follow the 3 setup steps in GITHUB_PAGES_SETUP.md to go live!
Need help? Check the troubleshooting section in docs/README.md