DEPLOY YOUR WEBSITE TO GITHUB PAGES

本文详细介绍了如何使用GitHub Pages发布网站的过程,包括创建GitHub账户、建立仓库、利用Git提交并推送网站文件,最终成功部署网站至互联网。文章还预告了下一章节将讲述如何更改网站的默认URL。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DEPLOY YOUR WEBSITE TO GITHUB PAGES
Review
Fantastic! You now have your site published on the public Internet. You can now navigate to your newly published website in your preferred browser.

The URL for your GitHub Pages site is: your-user-name.github.io, where your-user-name is your actual GitHub username.

Let's review what you accomplished in this unit:

Created a GitHub account
Created the required GitHub repo
Used Git to add, commit, and push your website to the repo
Succesfully used GitHub Pages to deploy your site to the Internet!
Note that your site's URL matches your repo's name — a GitHub Pages requirement. But what if you want to change the URL to a custom URL?

In the next unit, you'll learn how to keep your site hosted on GitHub, but change the URL to something besides the GitHub Pages default.

转载于:https://www.cnblogs.com/young-ma/p/7953150.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值