Comments (8)
直接创建个私有仓库把本项目的文件都提交进去,
.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.
一个仓库就可,github actions 执行时的仓库就是.github/workflows/backup.yml所在的仓库
CI执行完,这个仓库就会多一个目录"backup"
from notion-backup.
from notion-backup.
配置为空,应该是备份所有空间,
我等会看看下代码是不是有问题
from notion-backup.
我就是备份的所有空间,那个链接能拿到所有的文件都是正确的,可能push代码出问题了?
from notion-backup.
链接对了,应该是下载文件&解压的步骤错了,更新下notion_backup.py
看看下输出是什么
if os.path.exists(savePath):
print('保存文件:' + savePath)
else:
print('保存文件:' + savePath +'失败')
from notion-backup.
from notion-backup.
发现问题了,.gitignore里去掉backup/
我之前本地调试加的忘记去掉了
from notion-backup.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-backup.