File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33[ ![ Anurag's GitHub stats] ( https://github-readme-stats.vercel.app/api?username=sngxpro )] ( https://github.com/anuraghazra/github-readme-stats )
44
5+ ^_ ^
56
67#### AutoSyncScript
78```
1617
1718## 使用说明
1819```
19- 1、.github/workflows目录下,按脚本作者名字编写了yml文件
20+ 1、直接fork本项目到你自己的仓库。
2021
21- 2、复制yml文件代码或直接拿走文件,放到自己的任意仓库
22+ 2、点击自己的github设置--settings(右上角头像小三角点开下拉菜单就看到了)
2223
23- 3、给自己的仓库申请token并添加secret
24+ 3、点击developer setings
25+
26+ 4、点击Personal access tokens
27+
28+ 5、点击generate new token
29+
30+ 6、note随便起个好记的名字,给“repo”和“workflow”打勾
31+
32+ 7、拉倒页面最下,点generate token
33+
34+ 8、复制得到的token
35+
36+ 9、回到fork得到的仓库,点仓库名字下面一行按钮中的“settings”
37+
38+ 10、点击secrets---再点击new repository secrets
39+
40+ 11、上面填写 PAT 三个字母
41+
42+ 12、下面粘贴复制得到的token
43+
44+ 13、保存即可
45+
46+ 14、点击仓库名字下面一行按钮中的action
47+
48+ 15、点击右上角的star,添加一课星星
49+
50+ 16、手动运行一次这个页面的各个sync项目。方法是点击一个项目,然后点击run workflow。
51+
52+ 17、回到fork到的仓库的首页,编辑readme.md文件,删掉开头的^_^,再保存一次。
53+
54+ 18、完事了
2455
25- 4、运行ac
2656```
27- 看不懂的可参照教程
57+ 看不懂的可参考一下下面这个文。
2858
2959https://mp.weixin.qq.com/s/fcI4vQHD8TNajvTML9g3AA
3060
You can’t perform that action at this time.
0 commit comments