lrst6963 / AutoBuild-OpenWrt

Build OpenWrt using GitHub Actions | 使用 GitHub Actions 编译 OpenWrt | 感谢P3TERX的项目源码|感谢KFERMercer的项目源码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoBuild-OpenWrt

LICENSE GitHub Stars GitHub Forks GitHub last commit

Build OpenWrt firware Lean's OpenWrt using GitHub Actions
Hereby thank P3TERX for his amazing job: https://github.com/P3TERX/Actions-OpenWrt/
Hereby thank KFERMercer for his amazing job: https://github.com/KFERMercer/OpenWrt-CI

Usage | 使用

🔥🔥Video Tutorial (in Mandrin) | 视频教程(国语)📺🎉

1. Prerequisite | 必要条件

注册GitHub Actions

复刻这个 GitHub 存储库

2. Compile Firmware | 编译固件

  • Click [.github/workflows] folder on the top of repo and you could see few workflow files, Each for one particular architecture(device).

点击 [.github/workflows] 文件夹,你可以看到一些工作流文件,每个为一个特定的架构(设备)

  • Edit the workflow file you desire,uncomment push section 3 lines together and submit the commit.(Other 2 methods wait you to discover)

编辑您想要的工作流文件,取消注释,将第3节推到一起,并提交更改。(其他两种方法等你去发现)

  • The build starts automatically. Progress can be viewed on the Actions page.

生成启动。进度可以在 Actions 页面上查看

  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.

当构建完成后,点击 Actions 页面右上角的‘ Artifacts’按钮来下载二进制文件

  • Mi_R3G 默认Web IP:192.168.168.1 密码:password
  • x86_64 默认Web IP:192.168.1.1 密码:password

使用PushPlus进行微信推送通知

  1. 注册PushPlus并复制页面中生成的 Token

  2. Fork 我的AutoBuild-OpenWrt仓库,然后进入你的AutoBuild-OpenWrt仓库进行之后的设置

  3. 点击上方菜单中的Settings,依次点击Secrets-New repository secret

  4. 其中Name项填写PUSHPLUS_TOKEN,然后将你的 Token 粘贴到Value项,完成后点击Add secert

  • 对应.github/workflows目录下的yml工作流文件里的PUSHPLUS_TOKEN名称(依据自己yml文件修改)

  • 可通过PushPlus 推送编译结果到微信

About

Build OpenWrt using GitHub Actions | 使用 GitHub Actions 编译 OpenWrt | 感谢P3TERX的项目源码|感谢KFERMercer的项目源码

License:MIT License


Languages

Language:Shell 100.0%