You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
settings-->secrets and variables-->Actions-->new repository secrets,名称为G_KEY,值就是上面的github token
注意:这个G_KEY会在后面的gene_readme.yml文件中使用
下载yihong0618开源的这个项目,将其中除了feed.xml的文件全部copy到第一步项目中。
a. BACKUP中只保留.gitkeep空文件,
b. 修改gene_readme.yml文件,L11中分支名由master改成main;前面的G_KEY在这个文件配置(secrets.G_KEY)。
c. 修改main.py文件,搜索master,改成main
4.修改workflow permissions
新建一个仓库gitblog
新建仓库G_KEY
a. 新生成一个github token,
New personal access token (classic)
scope勾选: repo、workflow、gist、user,
生成后复制到一个安全的地方存储后面备用;
b. 配置Repository secrets
settings-->secrets and variables-->Actions-->new repository secrets,名称为G_KEY,值就是上面的github token
下载yihong0618开源的这个项目,将其中除了feed.xml的文件全部copy到第一步项目中。
a. BACKUP中只保留.gitkeep空文件,
b. 修改gene_readme.yml文件,L11中分支名由master改成main;前面的G_KEY在这个文件配置(secrets.G_KEY)。
c. 修改main.py文件,搜索master,改成main
4.修改workflow permissions
如果不修改,在提交issue后,github actions执行报错
5.初始化一些labels
至此基于issues个人博客就搭建完成了,可以愉快地写作了。
注意:提交issues,选择lable,github actions会被触发执行。
The text was updated successfully, but these errors were encountered: