Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Di chuyển một trang web dựa trên Jekyll từ GitHub Pages Migrating a Jekyll-based site from GitHub Pages ការផ្លាស់ប្តូរគេហទំព័រ Jekyll ពី GitHub Pages

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc Developer Platform — thực hành triển khai code, API và dữ liệu trên edge/serverless. Tutorial «Migrating Jekyll-based site từ GitHub Pages» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

Learn how to migrate a Jekyll-based site from GitHub Pages to Cloudflare Pages.

តើធ្វើដូចម្តេចដើម្បីផ្លាស់ប្តូរគេហទំព័រ Jekyll ពី GitHub Pages ទៅ Cloudflare Pages ។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Cần tài khoản Cloudflare, Wrangler CLI và (thường) hoàn thành hướng dẫn Get started của Workers/Pages.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Requires a Cloudflare account, Wrangler CLI, and (typically) completing the Workers/Pages Get started guide.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • តម្រូវឱ្យមានគណនី Cloudflare, Wrangler CLI និង (ប្រហែលជា) ការបញ្ចប់គណនី Workers/Pages Get started ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Tài liệu gốc — rà soát lần cuối: almost 5 years ago Official docs — last reviewed: almost 5 years ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: almost 5 years ago

Overview Overview Overview

Trong tutorial này, bạn sẽ migrate an existing GitHub Pages site using Jekyll ↗ to Cloudflare Pages. Jekyll is one of the most popular static site generators used with GitHub Pages, and migrating your GitHub Pages site to Cloudflare Pages will take a few short steps.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trong hướng dẫn này, bạn sẽ học cách di chuyển một GitHub Pages site using Jekyll ↗ hiện có sang Cloudflare Pages. Jekyll là một trong những trình tạo trang web tĩnh phổ biến nhất được sử dụng với GitHub Pages, và di chuyển trang web của bạn GitHub Pages sang Cloudflare Pages sẽ mất một vài bước ngắn.
In this tutorial, you will learn how to migrate an existing GitHub Pages site using Jekyll ↗ to Cloudflare Pages. Jekyll is one of the most popular static site generators used with GitHub Pages, and migrating your GitHub Pages site to Cloudflare Pages will take a few short steps.
ក្នុងការបណ្តុះបណ្តាលនេះអ្នកនឹងរៀនអំពីរបៀបធ្វើដំណើរការ GitHub Pages site using Jekyll ↗ ទៅ Cloudflare Pages ។ Jekyll គឺជាក្រុមហ៊ុនផលិតគេហទំព័រដែលមានប្រជាប្រិយភាពបំផុតដែលត្រូវបានប្រើជាមួយ GitHub Pages និងការផ្លាស់ប្តូរគេហទំព័ររបស់អ្នក GitHub Pages ទៅ Cloudflare Pages នឹងត្រូវការជំហានតូចមួយចំនួន។
Tutorial này sẽ hướng dẫn bạn qua:
This tutorial will guide you through:
វគ្គបណ្តុះបណ្តាលនេះនឹងដំណើរការអ្នកតាមរយៈ:
  1. Thêm các phụ thuộc cần thiết được sử dụng bởi GitHub Pages vào cấu hình dự án của bạn.
  2. Tạo một trang web Cloudflare Pages mới, kết nối với kho lưu trữ GitHub hiện có của bạn.
  3. Xây dựng và triển khai trang web của bạn trên Cloudflare Pages.
  4. (Tùy chọn) Di chuyển miền tùy chỉnh của bạn.
  1. Adding the necessary dependencies used by GitHub Pages to your project configuration.
  2. Creating a new Cloudflare Pages site, connected to your existing GitHub repository.
  3. Building and deploying your site on Cloudflare Pages.
  4. (Optional) Migrating your custom domain.
  1. ការបន្ថែមគោលបំណងដែលត្រូវប្រើដោយ GitHub Pages ដើម្បីកំណត់គម្រោងរបស់អ្នក។
  2. ការបង្កើតគេហទំព័រថ្មី Cloudflare Pages ដែលមានការតភ្ជាប់ជាមួយ repository របស់អ្នកដែលមាន GitHub ។
  3. ការបង្កើតនិងដំឡើងគេហទំព័ររបស់អ្នកនៅ Cloudflare Pages ។
  4. (តម្រូវការ) ការផ្លាស់ប្តូរឧបករណ៍ជំនាញរបស់អ្នក។
Bao gồm thời gian xây dựng, hướng dẫn này nên mất ít hơn 15 phút để hoàn thành.
Including build times, this tutorial should take you less than 15 minutes to complete.
ក្នុងការរួមបញ្ចូលពេលវេលាបង្កើតវគ្គបណ្តុះបណ្តាលនេះគួរតែចាំបាច់ទាបជាង 15 នាទីដើម្បីបញ្ចប់វគ្គបណ្តុះបណ្តាលនេះ។
Nếu bạn có một trang dựa trên Jekyll không được triển khai trên GitHub Pages, hãy tham khảo the Jekyll framework guide.
If you have a Jekyll-based site not deployed on GitHub Pages, refer to the Jekyll framework guide.
ប្រសិនបើអ្នកមានគេហទំព័រដែលមានមូលដ្ឋាន Jekyll ដែលមិនត្រូវបានដំឡើងនៅ GitHub Pages សូមមើល the Jekyll framework guide ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Trước khi bạn bắt đầu Before you begin មុនពេលដែលអ្នកចាប់ផ្តើម

Phần «Before you begin» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Before you begin" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «មុនពេលដែលអ្នកចាប់ផ្តើម» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Tutorial này giả định:
This tutorial assumes:
វគ្គបណ្តុះបណ្តាលនេះបានគិតថា:
  1. Bạn có một trang web hiện có GitHub Pages sử dụng Jekyll ↗
  2. Bạn đã quen thuộc với các công cụ dòng lệnh của Ruby và đã cài đặt cả gem và bundle.
  3. Bạn biết cách sử dụng một vài hoạt động Git cơ bản, bao gồm add, commit, push và pull.
  4. Bạn đã đọc hướng dẫn Get Started cho Cloudflare Pages.
  1. You have an existing GitHub Pages site using Jekyll ↗
  2. You have some familiarity with running Ruby's command-line tools, and have both gem and bundle installed.
  3. You know how to use a few basic Git operations, including add, commit, push, and pull.
  4. You have read the Get Started guide for Cloudflare Pages.
  1. តើអ្នកមានគេហទំព័រដែលមាន GitHub Pages ដែលប្រើ Jekyll ↗
  2. អ្នកមានជំនាញវិជ្ជាជីវៈក្នុងការដំណើរការឧបករណ៍ Ruby និងមាន gem និង bundle ដែលបានដំឡើង។
  3. អ្នកដឹងពីរបៀបប្រើប្រតិបត្តិការ Git មួយចំនួនជាមូលដ្ឋានដូចជា add, commit, push និង pull ។
  4. You have read the Get Started guide for Cloudflare Pages ។
Nếu bạn không có Rubygems (gem) hoặc Bundler (bundle) cài đặt trên máy của bạn, hãy tham khảo hướng dẫn cài đặt cho Rubygems ↗ và Bundler ↗.
If you do not have Rubygems (gem) or Bundler (bundle) installed on your machine, refer to the installation guides for Rubygems ↗ and Bundler ↗.
ប្រសិនបើអ្នកមិនមាន Rubygems (gem) ឬ Bundler (bundle) ត្រូវបានដំឡើងនៅក្នុងម៉ាស៊ីនរបស់អ្នក, សូមពិនិត្យមើលឧបករណ៍ដំឡើងសម្រាប់ Rubygems ↗ និង Bundler ↗ ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Chuẩn bị kho lưu trữ GitHub Pages Preparing your GitHub Pages repository ការរៀបចំការផ្ទុករបស់អ្នក GitHub Pages

Phần «Preparing your GitHub Pages repository» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Preparing your GitHub Pages repository" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការរៀបចំការផ្ទុករបស់អ្នក GitHub Pages» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu kho lưu trữ GitHub Pages của bạn đã có hiện tại Gemfile và Gemfile.lock, bạn có thể bỏ qua bước này hoàn toàn. Môi trường GitHub Pages giả định một tập hợp các plugin Jekyll mặc định không được chỉ định rõ ràng trong một Gemfile.
If your GitHub Pages repository already has a Gemfile and Gemfile.lock present, you can skip this step entirely. The GitHub Pages environment assumes a default set of Jekyll plugins that are not explicitly specified in a Gemfile.
ប្រសិនបើ repo របស់អ្នក GitHub Pages មាន Gemfile និង Gemfile.lock នៅពេលនេះអ្នកអាចបាត់បន្ថយដំណោះស្រាយនេះទាំងអស់។ ប្រព័ន្ធប្រតិបត្តិការ GitHub Pages មានប្រព័ន្ធប្រតិបត្តិការ Jekyll ដែលមិនត្រូវបានបញ្ជាក់នៅក្នុង Gemfile ។
Lưu trữ Jekyll hiện có của bạn phải chỉ định Gemfile (tệp cấu hình phụ thuộc của Ruby) để cho phép Cloudflare Pages thu thập và cài đặt các phụ thuộc đó trong build step.
Your existing Jekyll-based repository must specify a Gemfile (Ruby's dependency configuration file) to allow Cloudflare Pages to fetch and install those dependencies during the build step.
ទិន្នន័យដែលមាននៅលើ Jekyll របស់អ្នកគួរតែបញ្ជាក់ Gemfile (ឯកសារកំណត់កំណត់កំណត់កំណត់របស់ Ruby) ដើម្បីអនុញ្ញាតឱ្យ Cloudflare Pages ដើម្បីទាញយកនិងដំឡើងកំណត់កំណត់កំណត់កំណត់ដែលមាននៅពេល build step ។
Cụ thể, bạn sẽ cần phải tạo Gemfile và cài đặt viên ngọc github-pages, bao gồm tất cả các phụ thuộc mà môi trường GitHub Pages giả định.
Specifically, you will need to create a Gemfile and install the github-pages gem, which includes all of the dependencies that the GitHub Pages environment assumes.
ជាពិសេស, អ្នកនឹងត្រូវការបង្កើត Gemfile និងដំឡើង github-pages អេឡិចត្រូនិដែលរួមបញ្ចូលទាំងអស់នៃការផ្លាស់ប្តូរដែលការផ្លាស់ប្តូរ GitHub Pages មាន។
Version 2 of the Pages build environment sẽ sử dụng Ruby 3.2.2 cho bản dựng Jekyll mặc định. Vui lòng đảm bảo môi trường phát triển địa phương của bạn tương thích.
Version 2 of the Pages build environment will use Ruby 3.2.2 for the default Jekyll build. Please make sure your local development environment is compatible.
Version 2 of the Pages build environment នឹងប្រើ Ruby 3.2.2 សម្រាប់ការបង្កើត Jekyll ដែលមានគោលបំណង។ សូមធ្វើឱ្យប្រសិនបើបរិស្ថានអភិវឌ្ឍន៍របស់អ្នកគឺសមរម្យ។
Phiên bản Ruby
Set Ruby Version
កំណែ Ruby
text
brew install [email protected]

export PATH="/usr/local/opt/[email protected]/bin:$PATH"
Tạo Gemfile
Create a Gemfile
បានបង្កើត Gemfile
text
cd my-github-pages-repo

bundle init
Mở Gemfile đã được tạo cho bạn, và thêm dòng sau vào dưới cùng của tệp:
Open the Gemfile that was created for you, and add the following line to the bottom of the file:
ចុច Gemfile ដែលបានបង្កើតសម្រាប់អ្នកហើយបន្ថែមបន្ទាត់ខាងក្រោមទៅខាងក្រោមនៃឯកសារ:
Xác định phiên bản github-pages
Specifying the github-pages version
ការបញ្ជាក់កំណែ github-pages
text
gem "github-pages", group: :jekyll_plugins
Gemfile của bạn sẽ trông giống như dưới đây:
Your Gemfile should resemble the below:
Gemfile របស់អ្នកគួរតែដូចខាងក្រោម:
text
# frozen_string_literal: true


source "https://rubygems.org"


git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }


# gem "rails"

gem "github-pages", group: :jekyll_plugins
Chạy bundle update, sẽ cài đặt viên ngọc github-pages cho bạn, và tạo một tệp Gemfile.lock với các phiên bản phụ thuộc được giải quyết.
Run bundle update, which will install the github-pages gem for you, and create a Gemfile.lock file with the resolved dependency versions.
ការដំឡើង bundle update ដែលនឹងដំឡើង github-pages អេឡិចត្រូនិសម្រាប់អ្នកនិងបង្កើតឯកសារ Gemfile.lock ជាមួយនឹងការដំឡើងកំណែអេឡិចត្រូនិ។
Cập nhật bundle
Running bundle update
ការដំឡើង Bundle Update
text
bundle update

# Bundler will show a lot of output as it fetches the dependencies
Điều này phải hoàn thành thành công. Nếu không, hãy xác minh rằng bạn đã sao chép chính xác dòng github-pages ở trên và không bình luận nó với dòng # hàng đầu.
This should complete successfully. If not, verify that you have copied the github-pages line above exactly, and have not commented it out with a leading #.
វាត្រូវបានបញ្ចប់យ៉ាងជោគជ័យ។ ប្រសិនបើមិនបាន, សូមបញ្ជាក់ថាតើអ្នកបានកាត់បន្ថយតំណាង github-pages នៅខាងលើយ៉ាងត្រឹមត្រូវហើយមិនបាននិយាយថាតើវាមានតំណាង # ។
Bây giờ bạn sẽ cần phải cam kết các tệp này với kho lưu trữ của bạn để Cloudflare Pages có thể tham chiếu chúng trong các bước sau:
You will now need to commit these files to your repository so that Cloudflare Pages can reference them in the following steps:
ឥឡូវនេះអ្នកនឹងត្រូវចំណាយឯកសារទាំងនេះទៅក្នុងការរក្សារបស់អ្នកដូច្នេះ Cloudflare Pages អាចផ្លាស់ប្តូរពួកគេនៅក្នុងដំណើរការដូចខាងក្រោម:
Commit Gemfile và Gemfile.lock
Commit Gemfile and Gemfile.lock
ទាញយក Gemfile និង Gemfile.lock
text
git add Gemfile Gemfile.lock

git commit -m "deps: added Gemfiles"

git push origin main

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Cấu hình dự án Pages Configuring your Pages project ការកំណត់គម្រោងរបស់អ្នក Pages

Phần «Configuring your Pages dự án» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Configuring your Pages project" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការកំណត់គម្រោងរបស់អ្នក Pages» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Với dự án GitHub Pages của bạn bây giờ xác định rõ ràng các phụ thuộc của nó, bạn có thể bắt đầu cấu hình Cloudflare Pages. Quá trình này gần giống với deploying a Jekyll site.
With your GitHub Pages project now explicitly specifying its dependencies, you can start configuring Cloudflare Pages. The process is almost identical to deploying a Jekyll site.
ជាមួយនឹងគម្រោង GitHub Pages របស់អ្នកឥឡូវនេះបញ្ជាក់ពិសេសអំពីការទាក់ទងរបស់ខ្លួនអ្នកអាចចាប់ផ្តើមការកំណត់ Cloudflare Pages ។ នេះជាដំណើរការដូចជា deploying a Jekyll site ។
Nếu bạn đang cấu hình trang web Cloudflare Pages lần đầu tiên, hãy tham khảo Git integration guide, trong đó giải thích cách kết nối kho lưu trữ Git hiện có của bạn với Cloudflare Pages.
If you are configuring your Cloudflare Pages site for the first time, refer to the Git integration guide, which explains how to connect your existing Git repository to Cloudflare Pages.
ប្រសិនបើអ្នកកំពុងកំណត់ Cloudflare Pages របស់គេហទំព័ររបស់អ្នកជាលើកដំបូង, សូមមើល Git integration guide ដែលបង្ហាញពីរបៀបដើម្បីតភ្ជាប់ repository Git របស់អ្នកទៅ Cloudflare Pages ។
Để triển khai trang web của bạn đến Pages:
To deploy your site to Pages:
ដើម្បីដំឡើងគេហទំព័ររបស់អ្នកទៅ Pages:
  1. Trong bảng điều khiển Cloudflare, đi đến trang Workers & Pages.
  1. In the Cloudflare dashboard, go to the Workers & Pages page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Workers & Pages ។
  1. Chọn Create application &> Pages > Import an existing Git repository.
  2. Chọn kho GitHub mới mà bạn đã tạo và, trong phần Set up builds and deployments, cung cấp thông tin sau:
  1. Select Create application \> Pages \> Import an existing Git repository.
  2. Select the new GitHub repository that you created and, in the Set up builds and deployments section, provide the following information:
  1. សូមជ្រើសរើស Create application & > Pages > Import an existing Git repository ។
  2. ជ្រើសរើសប្រព័ន្ធផ្ទុកថ្មី GitHub ដែលអ្នកបានបង្កើតហើយក្នុងផ្នែក Set up builds and deployments សូមផ្តល់ព័ត៌មានដូចខាងក្រោម:
Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá
| Configuration option | Value | | -------------------- | ------------ | | Production branch | main | | Build command | jekyll build | | Build directory | \_site |
| Configuration option | Value | | -------------------- | ------------ | | Production branch | main | | Build command | jekyll build | | Build directory | \_site |
Sau khi bạn đã cấu hình trang web của bạn, bạn có thể bắt đầu triển khai đầu tiên của bạn. Bạn nên thấy Cloudflare Pages cài đặt jekyll, phụ thuộc dự án của bạn, và xây dựng trang web của bạn, trước khi triển khai nó.
After you have configured your site, you can begin your first deploy. You should see Cloudflare Pages installing jekyll, your project dependencies, and building your site, before deploying it.
បន្ទាប់ពីអ្នកបានកំណត់គេហទំព័ររបស់អ្នកអ្នកអាចចាប់ផ្តើមការដំឡើងដំបូងរបស់អ្នក។ អ្នកគួរតែមើល Cloudflare Pages ការដំឡើង jekyll, ការផ្លាស់ប្តូរគម្រោងរបស់អ្នកនិងការបង្កើតគេហទំព័ររបស់អ្នកមុនពេលដំឡើងវា។
Để biết hướng dẫn đầy đủ về việc triển khai trang web đầu tiên của bạn đến Cloudflare Pages, hãy tham khảo Get started guide.
For the complete guide to deploying your first site to Cloudflare Pages, refer to the Get started guide.
សម្រាប់វិធីសាស្រ្តពេញលេញដើម្បីដំឡើងគេហទំព័រដំបូងរបស់អ្នកទៅ Cloudflare Pages សូមមើល Get started guide ។
Sau khi triển khai trang web của bạn, bạn sẽ nhận được một tên miền con duy nhất cho dự án của bạn trên *.pages.dev. Mỗi khi bạn cam kết mã mới cho trang web Jekyll của bạn, Cloudflare Pages sẽ tự động xây dựng lại dự án của bạn và triển khai nó. Bạn cũng sẽ nhận được access đến preview deployments trên yêu cầu kéo mới, vì vậy bạn có thể xem trước những thay đổi trông như thế nào cho trang web của bạn trước khi triển khai chúng vào sản xuất.
After deploying your site, you will receive a unique subdomain for your project on *.pages.dev. Every time you commit new code to your Jekyll site, Cloudflare Pages will automatically rebuild your project and deploy it. You will also get access to preview deployments on new pull requests, so you can preview how changes look to your site before deploying them to production.
បន្ទាប់ពីអ្នកដំឡើងគេហទំព័ររបស់អ្នកអ្នកនឹងទទួលបានតំបន់បណ្តាញតូចតែមួយសម្រាប់គម្រោងរបស់អ្នកនៅ *.pages.dev ។ នៅពេលដែលអ្នកអនុញ្ញាតកូដថ្មីទៅលើគេហទំព័រ Jekyll របស់អ្នក Cloudflare Pages នឹងរចនាឡើងដោយស្វ័យប្រវត្តិគម្រោងរបស់អ្នកហើយដំឡើងវា។ អ្នកនឹងទទួលបាន access ទៅ preview deployments នៅលើតម្រូវការបង្វិលថ្មី, ដូច្នេះអ្នកអាចមើលមុនពីរបៀបដែលការផ្លាស់ប្តូរមើលទៅលើគេហទំព័ររបស់អ្នកមុនពេលដំឡើងវាទៅផលិតកម្ម។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Di chuyển domain custom của bạn Migrating your custom domain ការផ្លាស់ប្តូរឧបករណ៍ Domain របស់អ្នក

Phần «Migrating your custom domain» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Migrating your custom domain" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការផ្លាស់ប្តូរឧបករណ៍ Domain របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu bạn đang sử dụng custom domain with GitHub Pages ↗, bạn phải cập nhật bản ghi DNS của bạn để chỉ ra việc triển khai mới Cloudflare Pages của bạn. Điều này sẽ yêu cầu bạn cập nhật bản ghi CNAME tại nhà cung cấp DNS cho tên miền của bạn để trỏ đến <your-pages-site>.pages.dev, thay thế <your-username>.github.io.
If you are using a custom domain with GitHub Pages ↗, you must update your DNS record(s) to point at your new Cloudflare Pages deployment. This will require you to update the CNAME record at the DNS provider for your domain to point to <your-pages-site>.pages.dev, replacing <your-username>.github.io.
ប្រសិនបើអ្នកកំពុងប្រើ custom domain with GitHub Pages ↗ អ្នកត្រូវធ្វើការបច្ចុប្បន្នភាពប្រកាសរបស់អ្នក DNS ដើម្បីបង្ហាញការដំឡើងថ្មីរបស់អ្នក Cloudflare Pages ។ នេះនឹងតម្រូវឱ្យអ្នកធ្វើឱ្យប្រសើរឡើងប្រកាស CNAME នៅលើអ្នកផ្គត់ផ្គង់ DNS សម្រាប់ទីផ្សាររបស់អ្នកដើម្បីបង្ហាញទៅ <your-pages-site>.pages.dev, ការផ្លាស់ប្តូរ <your-username>.github.io ។
Lưu ý rằng nó có thể mất một thời gian để DNS bộ nhớ đệm hết hạn và thay đổi này được phản ánh, tùy thuộc vào giá trị DNS TTL (thời gian sống) bạn đặt khi bạn ban đầu tạo bản ghi.
Note that it may take some time for DNS caches to expire and for this change to be reflected, depending on the DNS TTL (time-to-live) value you set when you originally created the record.
សូមអរគុណថាវាអាចមានពេលវេលាដើម្បី DNS cache បានបញ្ចប់និងការផ្លាស់ប្តូរនេះត្រូវបានបង្ហាញដោយផ្អែកលើគុណភាព DNS TTL (time-to-live) ដែលអ្នកបានកំណត់នៅពេលដែលអ្នកបានបង្កើតឯកសារដំបូង។
Hãy tham khảo phần adding a custom domain của hướng dẫn Get started để biết danh sách các bước chi tiết.
Refer to the adding a custom domain section of the Get started guide for a list of detailed steps.
សូមពិនិត្យមើលផ្នែក adding a custom domain នៃការធ្វើតេស្ត Get started សម្រាប់បញ្ជីនៃដំណោះស្រាយបន្ថែមទៀត។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Tiếp theo là gì? What's next? តើអ្វីជាបន្ទាប់?

Phần «What's next?» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "What's next?" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «តើអ្វីជាបន្ទាប់?» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
  • តើធ្វើដូចម្តេចដើម្បី customize HTTP response headers សម្រាប់គេហទំព័ររបស់អ្នក Pages ដោយប្រើ Cloudflare Workers ។
  • តើធ្វើដូចម្តេចដើម្បី rollback a potentially broken deployment ទៅជាកំណែដែលធ្វើការមុន។
  • Configure redirects ដូច្នេះអ្នកចូលទស្សនកិច្ចនឹងត្រូវបានផ្លាស់ប្តូរនៅពេលវេលាទៅនឹងអាសយដ្ឋានផ្ទាល់ខ្លួនរបស់អ្នក 'canonical'.
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/pages/","name":"Pages"}},{"@type":"ListItem","position":3,"item":{"@id":"/pages/migrations/","name":"Migration guides"}},{"@type":"ListItem","position":4,"item":{"@id":"/pages/migrations/migrating-jekyll-from-github-pages/","name":"Migrating a Jekyll-based site from GitHub Pages"}}]}

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗