🐷重构action,将构建产物放到另一分支(@CCKNBC)
This commit is contained in:
parent
4781b7895a
commit
a55fef8524
20
.github/workflows/friend_circle_lite.yml
vendored
20
.github/workflows/friend_circle_lite.yml
vendored
@ -64,29 +64,15 @@ jobs:
|
||||
- name: Commit changes
|
||||
run: |
|
||||
mkdir pages
|
||||
cp -r main index.html all.json errors.json pages/
|
||||
cp -r main index.html all.json errors.json ./rss_subscribe/last_articles.json pages/
|
||||
cd pages
|
||||
git init
|
||||
git add .
|
||||
git commit -m "⏱️ $(date +"%Z %Y-%m-%d %A %H:%M:%S") Updated By GitHub Actions"
|
||||
git commit -m "⏱️ $(date +"%Y年%m月%d日-%H时%M分") GitHub Actions定时更新"
|
||||
git push --force https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:gh-pages
|
||||
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
retain_days: 90
|
||||
retain_days: 30
|
||||
keep_minimum_runs: 6
|
||||
|
||||
keepalive-workflow:
|
||||
name: Keepalive Workflow
|
||||
if: ${{ always() }}
|
||||
needs: friend-circle-lite
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gautamkrishnar/keepalive-workflow@v2
|
||||
with:
|
||||
committer_username: "github-actions[bot]"
|
||||
committer_email: "github-actions[bot]@users.noreply.github.com"
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -8,3 +8,7 @@
|
||||
# 忽略 Jupyter Notebook 文件
|
||||
*.ipynb
|
||||
*.log
|
||||
|
||||
# 忽略数据文件
|
||||
./all.json
|
||||
./errors.json
|
82
errors.json
82
errors.json
@ -1,82 +0,0 @@
|
||||
[
|
||||
[
|
||||
"Tianli",
|
||||
"https://tianli-blog.club/",
|
||||
"https://cdn.qyliu.top/i/2024/04/06/66116950412cc.png"
|
||||
],
|
||||
[
|
||||
"星の野",
|
||||
"https://byer.top/",
|
||||
"https://cdn.qyliu.top/i/2024/08/04/66af2ed96cd7d.webp"
|
||||
],
|
||||
[
|
||||
"一府",
|
||||
"https://blog.duolaa.asia/",
|
||||
"https://cdn.qyliu.top/i/2024/04/19/662145a134a68.png"
|
||||
],
|
||||
[
|
||||
"阮一峰",
|
||||
"https://www.ruanyifeng.com/blog/",
|
||||
"https://cdn.qyliu.top/i/2024/04/29/662fbca75b9fe.png"
|
||||
],
|
||||
[
|
||||
"Android",
|
||||
"https://android99.com",
|
||||
"https://cdn.qyliu.top/i/2024/04/07/66124120884cc.png"
|
||||
],
|
||||
[
|
||||
"青桔气球",
|
||||
"https://blog.qjqq.cn/",
|
||||
"https://cdn.qyliu.top/i/2024/04/07/661241402f02a.png"
|
||||
],
|
||||
[
|
||||
"理随",
|
||||
"https://lisui.top/",
|
||||
"https://cdn.qyliu.top/i/2024/04/07/66123e6aac11c.png"
|
||||
],
|
||||
[
|
||||
"皮普",
|
||||
"https://pipuwong.com",
|
||||
"https://cdn.qyliu.top/i/2024/04/09/6614f1b29c34a.png"
|
||||
],
|
||||
[
|
||||
"GuKaifeng",
|
||||
"https://gukaifeng.cn/",
|
||||
"https://cdn.qyliu.top/i/2024/04/09/6614ef03406cc.png"
|
||||
],
|
||||
[
|
||||
"Efu",
|
||||
"https://blog.everfu.org/",
|
||||
"https://cdn.qyliu.top/i/2024/04/26/662bcda2afd5d.png"
|
||||
],
|
||||
[
|
||||
"往日信笺",
|
||||
"https://www.xingmail.cn/",
|
||||
"https://cdn.qyliu.top/i/2024/04/14/661bf476a6d8d.png"
|
||||
],
|
||||
[
|
||||
"轻笑",
|
||||
"https://www.qcqx.cn/",
|
||||
"https://cdn.qyliu.top/i/2024/05/31/6659628eddf20.png"
|
||||
],
|
||||
[
|
||||
"Dreamaker",
|
||||
"https://dreamakerr.cn/",
|
||||
"https://cdn.qyliu.top/i/2024/06/05/66604a6f8dba9.webp"
|
||||
],
|
||||
[
|
||||
"雾林博客",
|
||||
"https://www.baiwulin.com/",
|
||||
"https://cdn.qyliu.top/i/2024/08/02/66ac3b75826cb.webp"
|
||||
],
|
||||
[
|
||||
"LinuxWin",
|
||||
"https://meoblog.pages.dev/",
|
||||
"https://cdn.qyliu.top/i/2024/08/31/66d32bc0384f8.webp"
|
||||
],
|
||||
[
|
||||
"听风小屋",
|
||||
"https://blog.ifeng.asia/",
|
||||
"https://cdn.qyliu.top/i/2024/03/31/6608e2697634c.png"
|
||||
]
|
||||
]
|
@ -1,44 +0,0 @@
|
||||
{
|
||||
"articles": [
|
||||
{
|
||||
"title": "OpenGist--自部署代码片段保存项目",
|
||||
"author": "Willow-God",
|
||||
"link": "https://blog.liushen.fun/posts/1ab3d6a1/",
|
||||
"published": "2024-09-05 00:06",
|
||||
"summary": "最近一直在找一个快捷分享文本片段并保存的项目,曾使用cf worker搭建了pastbin,使用vercel搭建了轻笑的文本粘贴分享项目,为了速度,我又自行搭建了FileCodeBox项目,但由于各种原因,我都不是很满意,于是继续寻找,最终找到了opengist,基本满足了我的要求。",
|
||||
"content": "最近一直在找一个快捷分享文本片段并保存的项目,曾使用cf worker搭建了pastbin,使用vercel搭建了轻笑的文本粘贴分享项目,为了速度,我又自行搭建了FileCodeBox项目,但由于各种原因,我都不是很满意,于是继续寻找,最终找到了opengist,基本满足了我的要求。"
|
||||
},
|
||||
{
|
||||
"title": "太白山&法门寺三日游游记",
|
||||
"author": "Willow-God",
|
||||
"link": "https://blog.liushen.fun/posts/62e27d26/",
|
||||
"published": "2024-08-27 00:06",
|
||||
"summary": "转瞬之间,暑假即将过去,我父母决定带我出去玩,经过一番选择,我们选择了太白山国家森林公园,以及其周围的法门寺,经过三天的游玩,我们了解到了很多新知识,也锻炼了身体,放松了身心。",
|
||||
"content": "转瞬之间,暑假即将过去,我父母决定带我出去玩,经过一番选择,我们选择了太白山国家森林公园,以及其周围的法门寺,经过三天的游玩,我们了解到了很多新知识,也锻炼了身体,放松了身心。"
|
||||
},
|
||||
{
|
||||
"title": "魔改笔记七:分类条及外链卡片",
|
||||
"author": "Willow-God",
|
||||
"link": "https://blog.liushen.fun/posts/a64defb4/",
|
||||
"published": "2024-08-10 01:39",
|
||||
"summary": "虽然说域名换了几乎等于从头开始,但是仍然浇不灭我对于网站的热情,该进行的还是得进行。很久都没有总结魔改了,这篇文章就将最近魔改最大的几个部分进行记录,同时对有需要的朋友提供帮助。",
|
||||
"content": "虽然说域名换了几乎等于从头开始,但是仍然浇不灭我对于网站的热情,该进行的还是得进行。很久都没有总结魔改了,这篇文章就将最近魔改最大的几个部分进行记录,同时对有需要的朋友提供帮助。"
|
||||
},
|
||||
{
|
||||
"title": "域名迁移至 blog.liushen.fun",
|
||||
"author": "Willow-God",
|
||||
"link": "https://blog.liushen.fun/posts/159f1aa5/",
|
||||
"published": "2024-08-09 16:00",
|
||||
"summary": "近期遇见了一个很烦人的事情,bing的所有搜索结果全部消失,我也不知道是怎么回事,已经在联系bing管理员了,不过,其实我很早之前就像换域名了,今天趁此机会,干脆直接换了得了!原有的域名301至新域名,不会影响任何使用。",
|
||||
"content": "近期遇见了一个很烦人的事情,bing的所有搜索结果全部消失,我也不知道是怎么回事,已经在联系bing管理员了,不过,其实我很早之前就像换域名了,今天趁此机会,干脆直接换了得了!原有的域名301至新域名,不会影响任何使用。"
|
||||
},
|
||||
{
|
||||
"title": "CloudFlare实用项目推荐",
|
||||
"author": "Willow-God",
|
||||
"link": "https://blog.liushen.fun/posts/3850e950/",
|
||||
"published": "2024-08-01 01:31",
|
||||
"summary": "之前我向大家推荐过vercel上的一些项目,都非常的有趣实用,最近,在和朋友安小歪的聊天中,发现了一些很好玩的cloud flare项目,比如临时邮箱,临时文件传送,计数统计,等等,很多项目都非常好玩,于是在此推荐给大家。",
|
||||
"content": "之前我向大家推荐过vercel上的一些项目,都非常的有趣实用,最近,在和朋友安小歪的聊天中,发现了一些很好玩的cloud flare项目,比如临时邮箱,临时文件传送,计数统计,等等,很多项目都非常好玩,于是在此推荐给大家。"
|
||||
}
|
||||
]
|
||||
}
|
9
vercel.json
Normal file
9
vercel.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"git": {
|
||||
"branch": "page",
|
||||
"deploymentEnabled": {
|
||||
"main": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user