Personal website built with Jekyll and deployed to Cloudflare Workers.
- Install Ruby 3.4.5
- Install dependencies:
gem install bundler bundle install
- Run the development server:
bundle exec jekyll serve
This site is automatically deployed to Cloudflare Workers via GitHub Actions when changes are pushed to the jekyll branch.
-
Cloudflare API Token: Create a Cloudflare API token with the following permissions:
- Account: Cloudflare Workers:Edit
- Zone: Cloudflare Workers:Edit
- User: Cloudflare Workers:Edit
-
GitHub Secrets: Add the following secret to your GitHub repository:
CLOUDFLARE_API_TOKEN: Your Cloudflare API token
- Push changes to the
jekyllbranch - GitHub Actions will automatically:
- Build the Jekyll site
- Deploy to Cloudflare Workers using Wrangler CLI
- Serve the static site from the
_sitedirectory
.github/workflows/deploy.yml: GitHub Actions workflowwrangler.jsonc: Cloudflare Workers configuration_config.yml: Jekyll configurationGemfile: Ruby dependencies
_site/: Built Jekyll site (generated, not committed)css/: Stylesheetsjs/: JavaScript files_posts/: Blog posts_includes/: Jekyll includes_layouts/: Jekyll layouts