add auto-process
This commit is contained in:
parent
9055fa3ee0
commit
e5ba5c4281
34
.github/workflows/main.yml
vendored
Executable file
34
.github/workflows/main.yml
vendored
Executable file
@ -0,0 +1,34 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the main branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2.3.0
|
||||
- name: Run a one-line script
|
||||
run: python main.py
|
||||
- name: Commit files
|
||||
run: |
|
||||
git config --local user.email "actions@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add .
|
||||
git commit -m "gen README.md"
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
91
README.md
91
README.md
@ -1,52 +1,57 @@
|
||||
# review-2021
|
||||
#2021年终总结
|
||||
|
||||
<--! 此处待完善 -->
|
||||
|
||||
|
||||
- [2021 年总结 – 竹炉山房](https://synyan.cn/t/38681/)
|
||||
- [2021,再见;2022,你来了:生活的主动性 | 纬八路生活随笔集](http://www.weibalu.com/?p=4015)
|
||||
- [二零二一年,过眼云烟 – 红灯博客](http://www.hdgogogo.com/4159)
|
||||
- [你好,这是我的2021 - 梦幻辰风](https://www.mhcf.net/1143.html)
|
||||
- [写在2021最后一天 | 公子府](https://www.gongzi.org/hello-2022.html)
|
||||
- [抓住2021的尾巴 | 灰常记忆](https://bestcherish.com/zhua-zhu-2021-de-wei-ba.html)
|
||||
- [再见,2021 —— 我的 2021 年度总结 - 宝硕博客](https://blog.baoshuo.ren/post/goodbye-2021/)
|
||||
- [我的二零二一 – JiaYin's Life](https://imjiayin.com/4602)
|
||||
- [2021 – 2022 – 非理勿试](https://www.ntiy.com/1681.html)
|
||||
- [把2021丢进风里,扬着头笑着迈向2022! - 生活 - 水清无鱼](https://bosir.cn/925.html)
|
||||
- [2021 – 2022 跨年博客 – Fatesinger](https://fatesinger.com/100710)
|
||||
- [2021 岁末总结 - 苏洋博客](https://soulteary.com/2021/12/31/2021-year-end-summary.html)
|
||||
- [2021 年年终总结 | 白宦成](https://www.ixiqin.com/2021/12/2021-year-end-summary/)
|
||||
- [2021 年度总结 - 漩涡的博客](https://xuanwo.io/2021/11-2021-review/)
|
||||
- [2021 年总结 – 竹炉山房](https://synyan.cn/t/38681/)
|
||||
- [2021 年终回顾 – EmacsTalk](https://emacstalk.github.io/post/2021-review/)
|
||||
- [2021 年终总结 - 老高的博客](https://blog.mute-g.com/post/work/summary-2021.html)
|
||||
- [2021 年终总结 | OneV's Den](https://onevcat.com/2021/12/2021-final/)
|
||||
- [2021 年终总结 | Usubeni Fantasy](https://ssshooter.com/2021-12-25-2021-summary/)
|
||||
- [2021 年终总结 | 时光飞逝的一年 - Muyun](https://muyun.work/2021-summary.html)
|
||||
- [2021 年读书记录 | Yiran's Blog](https://zdyxry.github.io/2021/12/31/2021-%E5%B9%B4%E8%AF%BB%E4%B9%A6%E8%AE%B0%E5%BD%95/)
|
||||
- [2021 节点:赶不上变化的计划 - Phodal | Phodal - A Growth Engineer](https://www.phodal.com/blog/node-2021/)
|
||||
- [2021年年终总结 – 7gugu's Blog](https://7gugu.com/index.php/2021/12/30/2021%E5%B9%B4%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/)
|
||||
- [2021年总结 | ddadaal.me](https://ddadaal.me/articles/summary-for-2021/)
|
||||
- [2021年我最爱的三个产品 - ice @ yaya](https://blog.yaya.pm/2021-fav-products)
|
||||
- [2021年概览 - Elizen](https://elizen.me/posts/2021/12/2022-happy-new-year/)
|
||||
- [2021年的最后一篇文章 - 加菲猫的创客工坊](https://www.gaficat.com/posts/28ddd435.html)
|
||||
- [2021年终总结 - @Lenciel](https://lenciel.com/2021/12/last-day-in-2021/)
|
||||
- [2021年终总结 - Joe’s Blog](https://hijiangtao.github.io/2021/12/29/Letter-to-2021/)
|
||||
- [2021年终总结 - zu1k](https://lgf.im/posts/thinking/2021/)
|
||||
- [2021年终总结 – Frank's Weblog](https://nyan.im/posts/5576.html)
|
||||
- [2021我成长了🌈 – 幸吾有志](https://www.symbk.cn/life/622/)
|
||||
- [2021,再见;2022,你来了:生活的主动性 | 纬八路生活随笔集](http://www.weibalu.com/?p=4015)
|
||||
- [920.2021年的最后一天 - wys.me](https://www.wys.me/920.html)
|
||||
- [Last day of 2021 | Tianke Youke](http://jyzhu.top/2021/12/31/Last-day-of-2021/)
|
||||
- [[青空之蓝-2021] - 远望 | 青空之蓝](https://blog.ixk.me/post/my-2021-year-end-summary)
|
||||
- [不是总结的总结 - 小王子](https://www.wanghao.me/bushizongjiedezongjie.html)
|
||||
- [请回答 二〇二一 | 叶星优酸乳](https://weiyexing.ml/posts/back-to-2021/)
|
||||
- [二〇二一之观影记录 | 叶星优酸乳](https://weiyexing.ml/posts/film-record-2021/)
|
||||
- [二〇二一之读书记录 | 叶星优酸乳](https://weiyexing.ml/posts/read-record-2021/)
|
||||
- [2021 年度总结 - 漩涡的博客](https://xuanwo.io/2021/11-2021-review/)
|
||||
- [2021年终总结 - @Lenciel](https://lenciel.com/2021/12/last-day-in-2021/)
|
||||
- [逝去的2021 | iTimothy](https://xiaozhou.net/2021-summary-2021-12-31.html)
|
||||
- [2021 年终总结 | Usubeni Fantasy](https://ssshooter.com/2021-12-25-2021-summary/)
|
||||
- [2021年终总结 - Joe’s Blog](https://hijiangtao.github.io/2021/12/29/Letter-to-2021/)
|
||||
- [2021 年年终总结 | 白宦成](https://www.ixiqin.com/2021/12/2021-year-end-summary/)
|
||||
- [2021 年终总结 | OneV's Den](https://onevcat.com/2021/12/2021-final/)
|
||||
- [2021 年终总结 - 老高的博客](https://blog.mute-g.com/post/work/summary-2021.html)
|
||||
- [2021年我最爱的三个产品 - ice @ yaya](https://blog.yaya.pm/2021-fav-products)
|
||||
- [我的2021 · 构建我的被动收入](https://www.bmpi.dev/self/annual-summary/2021/)
|
||||
- [2021年总结 | ddadaal.me](https://ddadaal.me/articles/summary-for-2021/)
|
||||
- [2021 年终回顾 – EmacsTalk](https://emacstalk.github.io/post/2021-review/)
|
||||
- [2021年终总结 - zu1k](https://lgf.im/posts/thinking/2021/)
|
||||
- [2021 岁末总结 - 苏洋博客](https://soulteary.com/2021/12/31/2021-year-end-summary.html)
|
||||
- [2021年概览 - Elizen](https://elizen.me/posts/2021/12/2022-happy-new-year/)
|
||||
- [2021 年终总结 | 时光飞逝的一年 - Muyun](https://muyun.work/2021-summary.html)
|
||||
- [你好 2022(2021 年终总结) - Jiajun的编程随想](https://jiajunhuang.com/articles/2021_12_30-hello_2022.md.html)
|
||||
- [告别 2021 | ChungZH's Blog](https://blog.chungzh.cn/articles/goodbye2021/)
|
||||
- [我的 2021 — 251's Blog.](https://blog.251.sh/oh-my-2021)
|
||||
- [间奏曲 | 大破进击](https://jesor.me/2021/intermezzo/)
|
||||
- [2021年终总结 – Frank's Weblog](https://nyan.im/posts/5576.html)
|
||||
- [留在2021的最后一点文字 - 橘夜庭 | 霂森西 | 桜玲桉](https://musenxi.com/archives/2021-end.html)
|
||||
- [[青空之蓝-2021] - 远望 | 青空之蓝](https://blog.ixk.me/post/my-2021-year-end-summary)
|
||||
- [2021 节点:赶不上变化的计划 - Phodal | Phodal - A Growth Engineer](https://www.phodal.com/blog/node-2021/)
|
||||
- [年终总结 | 回头看看我的 2021 - Zwh's Blog](https://blog.zwh.best/index.php/archives/18/)
|
||||
- [挑战2022 | CHEGVA](https://chegva.com/4987.html)
|
||||
- [被灰山压垮,然后漂浮——2021年年终总结 – Drawoceans的博客](https://blog.drawoceans.com/myself/562/)
|
||||
- [二零二一年终总结 - 吕大卫的官方网站](https://lvdawei.com/post/2021-summary/)
|
||||
- [二零二一年,过眼云烟 – 红灯博客](http://www.hdgogogo.com/4159)
|
||||
- [你好 2022(2021 年终总结) - Jiajun的编程随想](https://jiajunhuang.com/articles/2021_12_30-hello_2022.md.html)
|
||||
- [你好,这是我的2021 - 梦幻辰风](https://www.mhcf.net/1143.html)
|
||||
- [再见,2021 —— 我的 2021 年度总结 - 宝硕博客](https://blog.baoshuo.ren/post/goodbye-2021/)
|
||||
- [写在2021年的最后一天 • 李子白了](https://www.mbcao.com/farewell-or-beginning/)
|
||||
- [写在2021最后一天 | 公子府](https://www.gongzi.org/hello-2022.html)
|
||||
- [告别 2021 | ChungZH's Blog](https://blog.chungzh.cn/articles/goodbye2021/)
|
||||
- [年终总结 | 回头看看我的 2021 - Zwh's Blog](https://blog.zwh.best/index.php/archives/18/)
|
||||
- [我的 2021 — 251's Blog.](https://blog.251.sh/oh-my-2021)
|
||||
- [我的2021 · 构建我的被动收入](https://www.bmpi.dev/self/annual-summary/2021/)
|
||||
- [我的二零二一 – JiaYin's Life](https://imjiayin.com/4602)
|
||||
- [把2021丢进风里,扬着头笑着迈向2022! - 生活 - 水清无鱼](https://bosir.cn/925.html)
|
||||
- [抓住2021的尾巴 | 灰常记忆](https://bestcherish.com/zhua-zhu-2021-de-wei-ba.html)
|
||||
- [按部就班的2021 | 醉乐轩](https://behappy.cc/2021/12/29/2021-final/)
|
||||
- [挑战2022 | CHEGVA](https://chegva.com/4987.html)
|
||||
- [珍珠之歌——我的2021总结 | 风与牧歌](https://blog.besscroft.com/life/2021/summary2021/)
|
||||
- [留在2021的最后一点文字 - 橘夜庭 | 霂森西 | 桜玲桉](https://musenxi.com/archives/2021-end.html)
|
||||
- [致2021的我们 – 非礼勿言](https://feiliwuyan.com/to-our-2021/)
|
||||
- [920.2021年的最后一天 - wys.me](https://www.wys.me/920.html)
|
||||
- [2021年的最后一篇文章 - 加菲猫的创客工坊](https://www.gaficat.com/posts/28ddd435.html)
|
||||
- [Last day of 2021 | Tianke Youke](http://jyzhu.top/2021/12/31/Last-day-of-2021/)
|
||||
- [2021年年终总结 – 7gugu's Blog](https://7gugu.com/index.php/2021/12/30/2021%E5%B9%B4%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/)
|
||||
- [被灰山压垮,然后漂浮——2021年年终总结 – Drawoceans的博客](https://blog.drawoceans.com/myself/562/)
|
||||
- [请回答 二〇二一 | 叶星优酸乳](https://weiyexing.ml/posts/back-to-2021/)
|
||||
- [逝去的2021 | iTimothy](https://xiaozhou.net/2021-summary-2021-12-31.html)
|
||||
- [间奏曲 | 大破进击](https://jesor.me/2021/intermezzo/)
|
||||
|
27
main.py
Normal file
27
main.py
Normal file
@ -0,0 +1,27 @@
|
||||
import os
|
||||
|
||||
flag = 0
|
||||
markdown = """#2021年终总结
|
||||
|
||||
<--! 此处待完善 -->
|
||||
"""
|
||||
|
||||
with open('metadata.md', 'r') as f:
|
||||
file = f.read()
|
||||
lines = file.splitlines()
|
||||
lines = set(lines)
|
||||
lines.discard('')
|
||||
lines = list(lines)
|
||||
lines.sort()
|
||||
|
||||
with open('metadata.md', 'w') as f:
|
||||
for line in lines:
|
||||
f.write(line+'\n')
|
||||
|
||||
with open('README.md', 'w') as f:
|
||||
for line in lines:
|
||||
if flag == 0:
|
||||
f.write(markdown+'\n'+'- '+line+'\n')
|
||||
flag = 1
|
||||
else:
|
||||
f.write('- '+line+'\n')
|
53
metadata.md
Normal file
53
metadata.md
Normal file
@ -0,0 +1,53 @@
|
||||
[2021 – 2022 – 非理勿试](https://www.ntiy.com/1681.html)
|
||||
[2021 – 2022 跨年博客 – Fatesinger](https://fatesinger.com/100710)
|
||||
[2021 岁末总结 - 苏洋博客](https://soulteary.com/2021/12/31/2021-year-end-summary.html)
|
||||
[2021 年年终总结 | 白宦成](https://www.ixiqin.com/2021/12/2021-year-end-summary/)
|
||||
[2021 年度总结 - 漩涡的博客](https://xuanwo.io/2021/11-2021-review/)
|
||||
[2021 年总结 – 竹炉山房](https://synyan.cn/t/38681/)
|
||||
[2021 年终回顾 – EmacsTalk](https://emacstalk.github.io/post/2021-review/)
|
||||
[2021 年终总结 - 老高的博客](https://blog.mute-g.com/post/work/summary-2021.html)
|
||||
[2021 年终总结 | OneV's Den](https://onevcat.com/2021/12/2021-final/)
|
||||
[2021 年终总结 | Usubeni Fantasy](https://ssshooter.com/2021-12-25-2021-summary/)
|
||||
[2021 年终总结 | 时光飞逝的一年 - Muyun](https://muyun.work/2021-summary.html)
|
||||
[2021 年读书记录 | Yiran's Blog](https://zdyxry.github.io/2021/12/31/2021-%E5%B9%B4%E8%AF%BB%E4%B9%A6%E8%AE%B0%E5%BD%95/)
|
||||
[2021 节点:赶不上变化的计划 - Phodal | Phodal - A Growth Engineer](https://www.phodal.com/blog/node-2021/)
|
||||
[2021年年终总结 – 7gugu's Blog](https://7gugu.com/index.php/2021/12/30/2021%E5%B9%B4%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/)
|
||||
[2021年总结 | ddadaal.me](https://ddadaal.me/articles/summary-for-2021/)
|
||||
[2021年我最爱的三个产品 - ice @ yaya](https://blog.yaya.pm/2021-fav-products)
|
||||
[2021年概览 - Elizen](https://elizen.me/posts/2021/12/2022-happy-new-year/)
|
||||
[2021年的最后一篇文章 - 加菲猫的创客工坊](https://www.gaficat.com/posts/28ddd435.html)
|
||||
[2021年终总结 - @Lenciel](https://lenciel.com/2021/12/last-day-in-2021/)
|
||||
[2021年终总结 - Joe’s Blog](https://hijiangtao.github.io/2021/12/29/Letter-to-2021/)
|
||||
[2021年终总结 - zu1k](https://lgf.im/posts/thinking/2021/)
|
||||
[2021年终总结 – Frank's Weblog](https://nyan.im/posts/5576.html)
|
||||
[2021我成长了🌈 – 幸吾有志](https://www.symbk.cn/life/622/)
|
||||
[2021,再见;2022,你来了:生活的主动性 | 纬八路生活随笔集](http://www.weibalu.com/?p=4015)
|
||||
[920.2021年的最后一天 - wys.me](https://www.wys.me/920.html)
|
||||
[Last day of 2021 | Tianke Youke](http://jyzhu.top/2021/12/31/Last-day-of-2021/)
|
||||
[[青空之蓝-2021] - 远望 | 青空之蓝](https://blog.ixk.me/post/my-2021-year-end-summary)
|
||||
[不是总结的总结 - 小王子](https://www.wanghao.me/bushizongjiedezongjie.html)
|
||||
[二〇二一之观影记录 | 叶星优酸乳](https://weiyexing.ml/posts/film-record-2021/)
|
||||
[二〇二一之读书记录 | 叶星优酸乳](https://weiyexing.ml/posts/read-record-2021/)
|
||||
[二零二一年终总结 - 吕大卫的官方网站](https://lvdawei.com/post/2021-summary/)
|
||||
[二零二一年,过眼云烟 – 红灯博客](http://www.hdgogogo.com/4159)
|
||||
[你好 2022(2021 年终总结) - Jiajun的编程随想](https://jiajunhuang.com/articles/2021_12_30-hello_2022.md.html)
|
||||
[你好,这是我的2021 - 梦幻辰风](https://www.mhcf.net/1143.html)
|
||||
[再见,2021 —— 我的 2021 年度总结 - 宝硕博客](https://blog.baoshuo.ren/post/goodbye-2021/)
|
||||
[写在2021年的最后一天 • 李子白了](https://www.mbcao.com/farewell-or-beginning/)
|
||||
[写在2021最后一天 | 公子府](https://www.gongzi.org/hello-2022.html)
|
||||
[告别 2021 | ChungZH's Blog](https://blog.chungzh.cn/articles/goodbye2021/)
|
||||
[年终总结 | 回头看看我的 2021 - Zwh's Blog](https://blog.zwh.best/index.php/archives/18/)
|
||||
[我的 2021 — 251's Blog.](https://blog.251.sh/oh-my-2021)
|
||||
[我的2021 · 构建我的被动收入](https://www.bmpi.dev/self/annual-summary/2021/)
|
||||
[我的二零二一 – JiaYin's Life](https://imjiayin.com/4602)
|
||||
[把2021丢进风里,扬着头笑着迈向2022! - 生活 - 水清无鱼](https://bosir.cn/925.html)
|
||||
[抓住2021的尾巴 | 灰常记忆](https://bestcherish.com/zhua-zhu-2021-de-wei-ba.html)
|
||||
[按部就班的2021 | 醉乐轩](https://behappy.cc/2021/12/29/2021-final/)
|
||||
[挑战2022 | CHEGVA](https://chegva.com/4987.html)
|
||||
[珍珠之歌——我的2021总结 | 风与牧歌](https://blog.besscroft.com/life/2021/summary2021/)
|
||||
[留在2021的最后一点文字 - 橘夜庭 | 霂森西 | 桜玲桉](https://musenxi.com/archives/2021-end.html)
|
||||
[致2021的我们 – 非礼勿言](https://feiliwuyan.com/to-our-2021/)
|
||||
[被灰山压垮,然后漂浮——2021年年终总结 – Drawoceans的博客](https://blog.drawoceans.com/myself/562/)
|
||||
[请回答 二〇二一 | 叶星优酸乳](https://weiyexing.ml/posts/back-to-2021/)
|
||||
[逝去的2021 | iTimothy](https://xiaozhou.net/2021-summary-2021-12-31.html)
|
||||
[间奏曲 | 大破进击](https://jesor.me/2021/intermezzo/)
|
Reference in New Issue
Block a user