Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kdwkakcs committed Nov 5, 2024
1 parent fa2097b commit d99bc6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/hourly-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }} # 使用 GITHUB_TOKEN

- name: Make script executable
run: chmod +x run_bblot.sh
Expand All @@ -21,8 +23,10 @@ jobs:

- name: Commit and push changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
git add .
git commit -m "Auto update at $(date +'%Y-%m-%d %H:%M:%S')" || exit 0
git push
git commit -m "Update at $(date +'%Y-%m-%d %H:%M:%S')"
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 设置环境变量
Binary file modified all_node.db.gz
Binary file not shown.

0 comments on commit d99bc6d

Please sign in to comment.