目录:
1.github的action
2.github-actions
3.github的action不能自动运行
4.github自动运行action
5.github action教程
6.github action 滥用
7.github Actions
8.Github Actions
9.github actions教程
10.github action 京东
1.github的action
social-readmeAutomatically build Social feeds in your Profile Readme everyday, preview: github.com/zylele
2.github-actions
每天自动构建社交feed到你的主页readme中,预览:github.com/zylele
3.github的action不能自动运行
目前支持rss,符合rss2.0或atom标准,比如 我的博客 rss链接是https://zylele.github.io/atom.xml豆瓣(想看、在看和看过的书和电影,想听、在听和听过的音乐)更新你的项目readme
4.github自动运行action
根据你的需要,在你的readme中增加以下内容博客:豆瓣:
5.github action教程
这些是构建feed信息的识别点Profile Repository(/)仓库名与你的GitHub用户名相同的,就是Profile Repository
6.github action 滥用
这是GitHub的一个彩蛋,仓库根目录的README.md文件将会被渲染展示在你的个人公共主页上比如我的Profile Repository是 github.com/zylele/zylele ,README.md将会展示在我的主页上:
7.github Actions
zylele(Ale)如果你在Profile Repository上构建workflow 那你就不需要GitHub Access Token,因为GitHub Action已经为你生成了一个 在你项目的根目录,新建
8.Github Actions
.github/workflows/social-readme.yml,或者编辑其他已有的workflow文件 拷贝以下代码到上一步的文件中,根据你的需要,选填博客atom链接blog_rss_link
9.github actions教程
,豆瓣用户名douban_name(豆瓣个人主页地址可以看到douban.com/people/username/)name: Social Readme on: schedule: – cron: 0 0 * * * workflow_dispatch: push: branches: – master jobs: update-social: runs-on: ubuntu-latest steps: – uses: zylele/social-readme@master with: blog_rss_link: your blog rss link douban_name: your douban username
10.github action 京东
其他仓库(not /)如果你在其他仓库构建workflow那你需要先获取GitHub Access Token 并且保存在Repo Secrets GH_TOKEN =
下面是运行它的示例workflow文件:name: Social Readme on: schedule: – cron: 0 0 * * * workflow_dispatch: push: branches: – master jobs: update-social: runs-on: ubuntu-latest steps: – uses: zylele/social-readme@master with: blog_rss_link: your blog rss link douban_name: your douban username gh_token: ${{ secrets.GH_TOKEN }} repository: #可选,默认将会自动使用执行workflow的存储库
可选配置如果你想定制更多构建细节,在workflow文件中的with有如下可选参数- uses: zylele/social-readme@master with: blog_rss_link: your blog rss link blog_limit: 5 # blog数量 douban_name: your douban username douban_limit: 5 # 豆瓣最新动态数量 commit_message: Updated social rss by social-readme # commit说明
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别
丞旭猿论坛
暂无评论内容