Giter VIP home page Giter VIP logo

Comments (8)

LoneKingCode avatar LoneKingCode commented on August 27, 2024

直接创建个私有仓库把本项目的文件都提交进去,
.github/workflows/backup.yml中的

# on:
#   # Triggers the workflow on push or pull request events but only for the main branch
#   push:
#     branches: [main]
#   pull_request:
#     branches: [main]

去掉注释就可以测试下,push会触发下ci执行
改下环境变量NOTION_TOKEN

from notion-backup.

LoneKingCode avatar LoneKingCode commented on August 27, 2024

一个仓库就可,github actions 执行时的仓库就是.github/workflows/backup.yml所在的仓库
CI执行完,这个仓库就会多一个目录"backup"

from notion-backup.

xming521 avatar xming521 commented on August 27, 2024

image
不行 仓库什么变化都没有

from notion-backup.

LoneKingCode avatar LoneKingCode commented on August 27, 2024

配置为空,应该是备份所有空间,
我等会看看下代码是不是有问题

from notion-backup.

xming521 avatar xming521 commented on August 27, 2024

我就是备份的所有空间,那个链接能拿到所有的文件都是正确的,可能push代码出问题了?

from notion-backup.

LoneKingCode avatar LoneKingCode commented on August 27, 2024

链接对了,应该是下载文件&解压的步骤错了,更新下notion_backup.py
看看下输出是什么
if os.path.exists(savePath):
print('保存文件:' + savePath)
else:
print('保存文件:' + savePath +'失败')

from notion-backup.

xming521 avatar xming521 commented on August 27, 2024

image
我遍历了一下文件都在

from notion-backup.

LoneKingCode avatar LoneKingCode commented on August 27, 2024

发现问题了,.gitignore里去掉backup/
我之前本地调试加的忘记去掉了

from notion-backup.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.