Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.1 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.1 KB

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