From dbbca9517b76daad4a52d3391e40ae0e3c941d93 Mon Sep 17 00:00:00 2001 From: SamHacker Date: Sun, 2 Mar 2025 21:23:50 +0800 Subject: [PATCH] Update github.mdx --- src/content/docs/zh-tw/guides/deploy/github.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/zh-tw/guides/deploy/github.mdx b/src/content/docs/zh-tw/guides/deploy/github.mdx index 37b2ca0b3d47c..7ca0eaea4636d 100644 --- a/src/content/docs/zh-tw/guides/deploy/github.mdx +++ b/src/content/docs/zh-tw/guides/deploy/github.mdx @@ -12,11 +12,11 @@ import { Steps } from '@astrojs/starlight/components'; ## 如何部署 -你可以透過 [GitHub Actions](https://github.com/features/actions) 將 Astro 網站自動搭建並部署到 GitHub Pages 網站上。為了這麼做,請將網站的原始碼託管至 GitHub。 +你可以透過 [GitHub Actions](https://github.com/features/actions) 自動將 Astro 網站搭建並部署到 GitHub Pages 上。正因如此,網站的原始碼必須要放在 Github 上。 -Astro 維護了官方的 `withastro/action` 工具幫助部署專案。按照下方的說明就能快速的將 Astro 網站部署進 GitHub pages。如果需要更多資訊時,可以檢視[這個 README](https://github.com/withastro/action)。 +Astro 官方提供的 `withastro/action` 可以只使用極少的設定就部署好專案。跟著下方的說明,即可在 GitHub pages 上部署你的 Astro 網站。詳細資訊請詳閱[套件的 README](https://github.com/withastro/action)。 -## 為 GitHub Pages 配置 Astro 專案 +## 在 Github Pages 設定 Astro ### 部署至 `github.io` 網址