README: 20201023
This commit is contained in:
parent
31d5f38a3f
commit
c1d9f20f43
14
README.md
14
README.md
|
@ -1,20 +1,20 @@
|
|||
# AutoBuild-Actions
|
||||
## Actions for Building OpenWRT
|
||||
|
||||
Actions for Building OpenWRT
|
||||
**自助更新:如果 Github Releases 已发布当日固件,请不要多次点击** ***Star*** **以节省公共资源**
|
||||
|
||||
测试通过的设备: `d-team_newifi-d2`、`phicomm_k2p`
|
||||
|
||||
测试通过的源码: [lede](https://github.com/coolsnowwolf/lede)
|
||||
测试通过的源码: [Lede](https://github.com/coolsnowwolf/lede)
|
||||
|
||||
## Github Actions 部署指南:
|
||||
|
||||
1. 首先需要获取[Github Token](https://github.com/settings/tokens/new),`Note`项随意填写,`Select scopes`项如果不懂就**全部打勾**,完成后点击`Generate token`
|
||||
|
||||
2. 复制获取到的Token值,**一定要保存到本地,Token值只会显示一次!**
|
||||
2. 复制获取到的 **Token**,**一定要保存到本地,注意: Token 值只会显示一次!**
|
||||
|
||||
3. ***Fork*** 此仓库,然后进入你的`AutoBuild-Actions`仓库
|
||||
|
||||
4. 点击右上方菜单中的`Settings`,点击`Secrets`-`New Secrets`,`Name`项填写`RELEASE_TOKEN`,`Value`项填写你在第 2 步中复制的Token值
|
||||
4. 点击右上方菜单中的`Settings`,点击`Secrets`-`New Secrets`,`Name`项填写`RELEASE_TOKEN`,`Value`项填写你在第 2 步中复制的 **Token**
|
||||
|
||||
**注: 以上操作只需操作一次**
|
||||
|
||||
|
@ -22,7 +22,7 @@ Actions for Building OpenWRT
|
|||
|
||||
1. 进入你的`AutoBuild-Actions`仓库
|
||||
|
||||
2. 编辑`/Customize/AutoUpdate.sh`文件,修改`第 7 行`为你的 **设备名称**,修改`第 8 行`为你的个人 **Github 地址**
|
||||
2. 编辑`/Customize/AutoUpdate.sh`文件,修改`第 7 行`为你的 **设备名称**,修改`第 8 行`为你的**个人 Github 地址**
|
||||
|
||||
3. 编辑`/Sctipts/diy-script.sh`文件,修改`第 7 行`为作者,作者将在 OpenWrt 主页显示
|
||||
|
||||
|
@ -45,7 +45,7 @@ Actions for Building OpenWRT
|
|||
|
||||
2. 编辑`/.github/workflows/AutoBuild.yml`文件,取消注释`第 21-22 行`,并按需修改 corntab 参数
|
||||
|
||||
3. 打开Openwrt管理界面,点击`系统`-`定时更新`,设置自动升级的时间点并保存(**需要 [luci-app-autoupdate](https://github.com/Hyy2001X/luci-app-autoupdate) 支持**)
|
||||
3. 打开 Openwrt 主页,点击`系统`-`定时更新`,设置自动检查升级的时间并保存(**需要 [luci-app-autoupdate](https://github.com/Hyy2001X/luci-app-autoupdate) 支持**)
|
||||
|
||||
## 使用指令升级固件:
|
||||
|
||||
|
|
Loading…
Reference in New Issue