GitHub Pages is a static site hosting service.github
GitHub Pages 是一個靜態網站託管服務promise
GitHub Pages is designed to host your personal, organization, or project pages directly from a GitHub repository. To learn more about the different types of GitHub Pages sites, see "User, organization, and project pages."服務器
GitHub Pages 被設計來管理你的來自一個GitHub 庫的我的的、組織的、或者項目的頁面。瞭解更多不一樣的類型的GitHub Pages網站,你能夠點擊:"我的、組織和項目頁"。markdown
You can create and publish GitHub Pages online using the Jekyll Theme Chooser. If you prefer to work locally, you can use GitHub Desktop or the command line.網絡
你能夠建立和發佈一個GitHub Pages到網上,使用Jekyll Theme Chooser技術。若是你更偏向於在本地使用,你可使用 GitHub Desktop 或 命令行.dom
Guidelines for using GitHub Pages
Github Pages的使用指導ide
- GitHub Pages sites created after June 15, 2016 and using
github.io
domains are served over HTTPS. If you created your site before June 15, 2016, you can enable HTTPS support for traffic to your site. - GitHub Pages網站建立於 2016年6月15日。使用github.io域名和HTTPS來提供服務。若是你在2016年6月15日以前建立了你的網站,你能夠啓用HTTPS支持來鏈接你的網站
-
GitHub Pages sites shouldn't be used for sensitive transactions like sending passwords or credit card numbers.網站
- GitHub Pages 不該該被用於敏感的事務,好比發送密碼或者信用卡號碼等
-
Your use of GitHub Pages is subject to the GitHub Terms of Service, including the prohibition on reselling.ui
- 你使用GitHub Pages是受制於 GitHub服務條款 的,包括禁止轉賣等
Warning: GitHub Pages sites are publicly available on the internet, even if their repositories are private. If you have sensitive data in your Page repository, you may want to remove it before publishing.
警告:GitHub Pages 網站是在網絡上公開使用的,即便他們的庫是私有的。若是你敏感的數據在你的Page庫中,你可能須要在發佈以前刪除它。
Usage limits
使用限制
GitHub Pages sites are subject to the following usage limits:
GitHub Pages受制於如下的使用限制:
- GitHub Pages source repositories have a recommended limit of 1GB .
- GitHub Pages source 庫 建議限制使用1GB
-
Published GitHub Pages sites may be no larger than 1 GB.
- 發佈的GitHub Pages網站最多不能超過1GB
-
GitHub Pages sites have a bandwidth limit of 100GB or 100,000 requests per month.
- GitHub Page網站帶寬限制是100Gb,10000請求每個月。
- GitHub Pages sites have a limit of 10 builds per hour.
- GitHub Page王炸安限制每小時10個builds
If your site exceeds these usage quotas, we may not be able to serve your site, or you may receive a polite email from GitHub Support suggesting strategies for reducing your site's impact on our servers, including moving to a different hosting service that might better fit your needs.
若是你超過了這些使用配額,咱們將不會提供給你的網站提供服務,或者你可能會受到一個有禮貌的郵件,它是來自GitHub Support的建議策略,目的是下降你的網站對咱們的服務器的影響,包括遷移到一個不一樣的主機服務,可能更加知足你的需求。
Additionally, GitHub Pages sites must refrain from:
此外,GitHub Pages必須避免如下狀況:
- Content or activity that is illegal or otherwise prohibited by our Terms of Service
- 非法內容或活動,另外這也是被咱們的服務條款禁止的。
- Violent or threatening content or activity
- 暴恐內容和活動
- Excessive automated bulk activity (for example, spamming)
- 過分自動化容量活動(舉例,垃圾郵件)
- Activity that compromises GitHub users or GitHub services
- GitHub的使用者或者GitHub的服務不容許的服務
- Get-rich-quick schemes
- (宣傳)一晚上暴富方案:應該指賭博之類的
- Pornographic content
- 色情內容
- Content that misrepresents your identity or site purpose
- 歪曲你的身份或者網站使用目的的內容
If you have questions about whether your use or intended use falls into these categories, please contactGitHub Support.
若是你在使用上有任何問題,或者你的網站被錯誤地歸類於以上分類,請聯繫咱們。
Further reading
瞭解更多
- "GitHub Pages basics"
- GitHub Pages 基本知識
- Beyond GitHub Pages basics
- 在GitHub Pages基礎知識以前
- GitHub Pages tutorial
- GitHub Pages指南