This repository contains the official website for the Open Data Product Specification (ODPS) initiative.
This website is automatically deployed to GitHub Pages using GitHub Actions whenever code is pushed to the website_with_pages_feature branch.
To enable GitHub Pages deployment for this repository:
-
Go to Repository Settings
- Navigate to your repository on GitHub
- Click on the "Settings" tab
-
Configure GitHub Pages
- Scroll down to the "Pages" section in the left sidebar
- Under "Source", select "GitHub Actions"
- This will enable the custom workflow we've created
-
Branch Configuration
- The deployment is configured to trigger on pushes to the
website_with_pages_featurebranch - Make sure you're working on this branch for automatic deployments
- The deployment is configured to trigger on pushes to the
-
First Deployment
- Push your changes to the
website_with_pages_featurebranch - The GitHub Action will automatically run and deploy your site
- You can monitor the deployment progress in the "Actions" tab
- Push your changes to the
To run the site locally for development:
# Install Jekyll and dependencies
gem install bundler jekyll
bundle install
# Serve the site locally
bundle exec jekyll serve
# The site will be available at http://localhost:4000├── .github/
│ └── workflows/
│ └── deploy-pages.yml # GitHub Actions workflow
├── _layouts/
│ └── default.html # Jekyll layout template
├── css/
│ └── style.css # Main stylesheet
├── js/
│ ├── mobile-menu.js # Mobile menu functionality
│ └── script.js # Additional JavaScript
├── images/ # Image assets
├── _config.yml # Jekyll configuration
├── Gemfile # Ruby dependencies
├── index.html # Homepage
├── about.html # About page
├── contact.html # Contact page
├── development.html # Development page
├── use-cases.html # Use cases page
├── versions.html # Versions page
└── blog.html # Blog page
- Responsive Design: Mobile-first approach with custom mobile menu
- Modern UI: Clean, professional design with smooth animations
- SEO Optimized: Jekyll SEO tags and proper meta information
- Fast Loading: Optimized assets and efficient CSS/JS
- Accessibility: WCAG compliant navigation and interactions
The GitHub Actions workflow (deploy-pages.yml) automatically:
- Triggers on pushes to
website_with_pages_featurebranch - Builds the Jekyll site with all dependencies
- Deploys to GitHub Pages with proper caching
- Provides the live URL in the deployment summary
-
Create/Switch to the feature branch:
git checkout website_with_pages_feature
-
Make your changes to HTML, CSS, or JS files
-
Test locally (optional but recommended):
bundle exec jekyll serve -
Commit and push:
git add . git commit -m "Your descriptive commit message" git push origin website_with_pages_feature
-
Monitor deployment in the GitHub Actions tab
Once deployed, your site will be available at:
https://open-data-product-initiative.github.io
Deployment fails?
- Check the Actions tab for error details
- Ensure all file paths are correct
- Verify Jekyll syntax in
_config.yml
Local development issues?
- Run
bundle installto update dependencies - Check Ruby version compatibility
- Ensure all required gems are installed
Mobile menu not working?
- Verify Font Awesome is loading correctly
- Check browser console for JavaScript errors
- Ensure
mobile-menu.jsis properly linked
For issues related to:
- Website functionality: Create an issue in this repository
- ODPS specification: Visit the main ODPS documentation
- GitHub Pages: Check GitHub's official documentation
Note: This setup uses Jekyll for GitHub Pages compatibility while preserving your existing HTML structure. Your current files will work seamlessly with minimal modifications.