index.html- 全员通讯录网页(可直接在浏览器打开)
-
创建GitHub账号
-
创建新仓库
- 点击 "+" -> "New repository"
- 仓库名:
tkd-contact-list - 设为 Public(公开)
- 点击 "Create repository"
-
上传文件
- 点击 "uploading an existing file"
- 拖拽上传
index.html - 点击 "Commit changes"
-
开启GitHub Pages
- 进入仓库,点击 "Settings"
- 左侧找到 "Pages"
- Source: "Deploy from a branch"
- Branch: "main", 文件夹: "(root)"
- 点击 "Save"
-
获取链接
- 等待1-2分钟
- 访问:
https://你的用户名.github.io/tkd-contact-list/
- 访问 https://app.netlify.com/drop
- 将整个
tkd-contact-list文件夹拖拽到网页 - 自动生成访问链接
- 修改
index.html文件 - 重新上传到GitHub/Netlify
- 等待自动部署完成
- 本地测试:直接用浏览器打开
index.html - 公网访问:部署后访问生成的链接
最后更新:2026-03-21