Skip to content

Commit

Permalink
Update notion-backup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvanh authored Oct 14, 2024
1 parent 79a59db commit fc270a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/notion-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
# 更改时区
sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo "==========开始同步==========="
rclone sync /home/runner/work/notion-backup/notion-backup/backup dropbox:backup/notion -vv
rclone sync /home/runner/work/notion-backup/notion-backup/backup onedrive:backup/notion -vv
rclone size onedrive:backup/notion
curl -s -X POST https://api.telegram.org/bot'${{ secrets.TELEGRAM_BOT_TOKEN }}'/sendMessage -d chat_id='${{ secrets.TELEGRAM_CHAT_ID }}' -d text="github notion-backup 任务执行结束"

0 comments on commit fc270a5

Please sign in to comment.