Skip to content

kdpuvvadi/blog

Repository files navigation

Blog

Jekyll Blog running on Cloudflare with theme Chirpy

Live URL

Testing

bundle install
jekyll serve --config _config_preview.yml # live test
jekyll serve --config _config_preview.yml --drafts # live test with drafts
bundle exec jekyll build --config _config_preview.yml # preview build
bundle exec jekyll build --config _config.yml # production build

check the output at http://localhost:4000

Deployment

Deploying with terraform using terraform cloud on Cloudflare Pages. Github actions runs the terraform apply when changes to the terraform directory pushed. Config can be found under terraform directory.

providers in terraform

terraform {
  required_version = ">= 1.3.0"
  required_providers {
    cloudflare = {
      source  = "cloudflare/cloudflare"
      version = "4.48.0"
    }
  }
  cloud {
    organization = "KDPuvvadi"

    workspaces {
      name = "blog"
    }
  }
}

License

Licensed under MIT