# _config.yml
url: "https://yourdomain.com"
baseurl: ""
plugins: - jekyll-feed - jekyll-sitemap - jekyll-seo-tag
# _config.yml
url: "https://yourdomain.com"
baseurl: ""
plugins: - jekyll-feed - jekyll-sitemap - jekyll-seo-tag
# _config.yml
url: "https://yourdomain.com"
baseurl: ""
plugins: - jekyll-feed - jekyll-sitemap - jekyll-seo-tag
source "https://rubygems.org"
gem "jekyll", "~> 4.3"
group :jekyll_plugins do gem "jekyll-feed" gem "jekyll-sitemap" gem "jekyll-seo-tag"
end
source "https://rubygems.org"
gem "jekyll", "~> 4.3"
group :jekyll_plugins do gem "jekyll-feed" gem "jekyll-sitemap" gem "jekyll-seo-tag"
end
source "https://rubygems.org"
gem "jekyll", "~> 4.3"
group :jekyll_plugins do gem "jekyll-feed" gem "jekyll-sitemap" gem "jekyll-seo-tag"
end
name: Deploy Jekyll to GitHub Pages on: push: branches: [main] workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.3' bundler-cache: true # Caches gems for faster builds - name: Configure GitHub Pages uses: actions/configure-pages@v5 - name: Build with Jekyll run: bundle exec jekyll build --destination ./_site env: JEKYLL_ENV: production - name: Upload artifact uses: actions/upload-pages-artifact@v3 deploy: needs: build runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4
name: Deploy Jekyll to GitHub Pages on: push: branches: [main] workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.3' bundler-cache: true # Caches gems for faster builds - name: Configure GitHub Pages uses: actions/configure-pages@v5 - name: Build with Jekyll run: bundle exec jekyll build --destination ./_site env: JEKYLL_ENV: production - name: Upload artifact uses: actions/upload-pages-artifact@v3 deploy: needs: build runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4
name: Deploy Jekyll to GitHub Pages on: push: branches: [main] workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.3' bundler-cache: true # Caches gems for faster builds - name: Configure GitHub Pages uses: actions/configure-pages@v5 - name: Build with Jekyll run: bundle exec jekyll build --destination ./_site env: JEKYLL_ENV: production - name: Upload artifact uses: actions/upload-pages-artifact@v3 deploy: needs: build runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4
yourdomain.com
yourdomain.com
yourdomain.com
# Check DNS resolves to GitHub Pages IPs
dig yourdomain.com A +short # Verify HTTPS and response headers
-weight: 500;">curl -I https://yourdomain.com
# Look for: strict-transport-security, cf-ray (Cloudflare edge hit)
# Check DNS resolves to GitHub Pages IPs
dig yourdomain.com A +short # Verify HTTPS and response headers
-weight: 500;">curl -I https://yourdomain.com
# Look for: strict-transport-security, cf-ray (Cloudflare edge hit)
# Check DNS resolves to GitHub Pages IPs
dig yourdomain.com A +short # Verify HTTPS and response headers
-weight: 500;">curl -I https://yourdomain.com
# Look for: strict-transport-security, cf-ray (Cloudflare edge hit) - A GitHub account with a repository for your Jekyll site
- A custom domain (optional but recommended)
- A Cloudflare account (free tier is sufficient)
- Ruby ≥ 3.1 and Jekyll ≥ 4.3 installed locally for testing - Go to Settings > Pages
- Under Source, select GitHub Actions (not a branch) - In Settings > Pages, check Enforce HTTPS ✔
- In Cloudflare SSL/TLS, set mode to Full (not Full Strict)
- Add a Cloudflare Redirect Rule: www.yourdomain.com → https://yourdomain.com (301) - Speed > Optimization > Auto Minify: HTML, CSS, JS
- Caching > Configuration > Browser Cache TTL: 4 hours
- Speed > Optimization > Brotli: on