Skip to content

02. Set up private variable GITHUB_TOKEN | 设置隐私变量 GITHUB_TOKEN

ophub edited this page Dec 7, 2023 · 1 revision

Set up Github private variable GITHUB_TOKEN. After the system is compiled, we need to upload the system to Releases, we set this variable according to Github's official requirements, the method is as follows: Personal center: Settings > Developer settings > Personal access tokens > Generate new token ( Name: GITHUB_TOKEN, Select: public_repo ). Other options can be selected as needed. Submit to save, copy the encrypted KEY value generated by the system, and save it to your computer's notepad. This value will be used in the next step. The illustration is as follows:

设置 Github 隐私变量 GITHUB_TOKEN 。在系统编译完成后,我们需要上传系统到 Releases ,我们根据 Github 官方的要求设置这个变量,方法如下: Personal center: Settings > Developer settings > Personal access tokens > Generate new token ( Name: GITHUB_TOKEN, Select: public_repo )。其他选项根据自己需要可以多选。提交保存,复制系统生成的加密 KEY 的值,先保存到自己电脑的记事本,下一步会用到这个值。图示如下: