mirror of
https://github.com/eryajf/learning-weekly.git
synced 2025-09-26 17:51:12 +08:00
ci: 更新 .cnb.yml 和 learning-weekly.xml 文件
- 修改 .cnb.yml 文件,添加 ifModify 配置项以匹配所有文件并排除 learning-weekly.xml - 更新 learning-weekly.xml 文件中的 pubDate 字段 - 启用 set token 和 commit 阶段,以自动提交更改到 Git 仓库
This commit is contained in:
34
.cnb.yml
34
.cnb.yml
@@ -1,24 +1,28 @@
|
||||
ifModify:
|
||||
- "**" # 匹配所有文件
|
||||
- "!(learning-weekly.xml)" # 排除 learning-weekly.xml 文件
|
||||
|
||||
main:
|
||||
push:
|
||||
- stages:
|
||||
- name: generate rss
|
||||
script: |
|
||||
./gorss --root ./docs > learning-weekly.xml
|
||||
# - name: set token
|
||||
# imports: https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
|
||||
# image: tencentcom/git-set-credential:latest
|
||||
# settings:
|
||||
# userName: ${USER_NAME}
|
||||
# userEmail: ${USER_EMAIL}
|
||||
# loginUserName: ${LOGIN_USER_NAME}
|
||||
# loginPassword: ${LOGIN_PASSWORD}
|
||||
# - name: commit
|
||||
# image: tencentcom/git-commit:latest
|
||||
# settings:
|
||||
# add:
|
||||
# - learning-weekly.xml
|
||||
# commitMessage: "commit by ci"
|
||||
# pushCurrent: true
|
||||
- name: set token
|
||||
imports: https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
|
||||
image: tencentcom/git-set-credential:latest
|
||||
settings:
|
||||
userName: ${USER_NAME}
|
||||
userEmail: ${USER_EMAIL}
|
||||
loginUserName: ${LOGIN_USER_NAME}
|
||||
loginPassword: ${LOGIN_PASSWORD}
|
||||
- name: commit
|
||||
image: tencentcom/git-commit:latest
|
||||
settings:
|
||||
add:
|
||||
- learning-weekly.xml
|
||||
commitMessage: "commit by ci"
|
||||
pushCurrent: true
|
||||
- name: sync to github
|
||||
image: tencentcom/git-sync
|
||||
imports: https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<link>https://wiki.eryajf.net/learning-weekly/</link>
|
||||
<description>这里记录我每周工作学习过程中遇到学到的优秀开源项目,优秀文章,以及优秀博客。有很多优秀的内容,都值得被铭记,值得被分享,值得被更多人学习,周刊想通过这里每周的记录分享,一方面强化自己对优秀内容的认识与学习,另一方面能够把优质内容统一汇总,以飨大众。

		周刊的内容会以运维技术和 Golang 为主,以及 GitHub 上优秀项目或经验。已经经过一次筛选过滤的内容,质量不会太差,在你空闲无事的时候,可以过来随便看看,必能有所收益。

		周刊维护在:https://github.com/eryajf/learning-weekly 欢迎投稿,推荐或自荐项目 /文章 /博客,请提交 issue 。</description>
|
||||
<managingEditor>eryajf@163.com (eryajf)</managingEditor>
|
||||
<pubDate>Sat, 12 Apr 2025 09:41:58 +0800</pubDate>
|
||||
<pubDate>Sat, 12 Apr 2025 11:37:05 +0800</pubDate>
|
||||
<item>
|
||||
<title>学习周刊-总第1期-2021年第18周</title>
|
||||
<link>https://wiki.eryajf.net/pages/11c668/</link>
|
||||
|
Reference in New Issue
Block a user