NotionNext icon indicating copy to clipboard operation
NotionNext copied to clipboard

【自动化友链的实现】基于Notion+GitHub Actions+NoteForms 实现的自动化友链

Open lifeafter619 opened this issue 4 months ago • 3 comments

尽量按此模板PR内容,或粘贴相关的ISSUE链接。

已知问题

当前的友链页较为简陋,也没有具体设置的教程

解决方案

1.设置新的友链页模板,我已经在里面的数据库中加入了新的属性,避免自己配置时出错 https://lf619.notion.site/619-24f4d291ba2c81afbff3f418f31fd5a5

2.我写了一篇详细的教程,参见 https://66619.eu.org/article/auto-links 进行设置

3.为了方便更多的朋友,我希望开发者能将我的内容并入文档当中,挂个我自己网站的链接就行啦 https://lf619.notion.site/NotionNext-Notion-GitHub-Actions-NoteForms-25c4d291ba2c8098a89cec515cab8096 唐佬可以复制一份放入文档当中

改动收益

从原来的手动升级到全自动,更加方便

具体改动

  1. 加入GitHub Actions的yml文件来实现自动更新
  2. 根目录下加入了对应的Python脚本
  3. 将NEXT_PUBLIC_POST_DISABLE_GALLERY_CLICK变量默认设置为true防止画廊视图的点击

测试确认

  • [x] 本地开发环境测试通过
  • [x] 生产环境构建测试通过
  • [x] 版本号正确显示
  • [x] 环境变量配置正常工作

lifeafter619 avatar Aug 27 '25 07:08 lifeafter619

@lifeafter619 is attempting to deploy a commit to the tangly1024's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 27 '25 07:08 vercel[bot]

哈哈哈 很实在的功能,用心了

tanglyqq avatar Aug 27 '25 09:08 tanglyqq

感谢!希望NotionNext能越来越好啦!!

lifeafter619 avatar Aug 27 '25 11:08 lifeafter619