diff --git a/.github/workflows/hourly-update.yml b/.github/workflows/hourly-update.yml index 849fa5e..69df3e8 100644 --- a/.github/workflows/hourly-update.yml +++ b/.github/workflows/hourly-update.yml @@ -12,17 +12,26 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + repository: Kdwkakcs/pwcd + token: ${{ secrets.privates }} + path: pwcd - name: Make script executable - run: chmod +x run_bblot.sh + run: | + cd pwcd + chmod +x run_bblot.sh + bash run_bblot.sh - name: Run script run: ./run_bblot.sh - 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 \ No newline at end of file + git commit -m "Update at $(date +'%Y-%m-%d %H:%M:%S')" + git push origin main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 设置环境变量 \ No newline at end of file diff --git a/all_node.db.gz b/all_node.db.gz index d029c5e..a44da41 100644 Binary files a/all_node.db.gz and b/all_node.db.gz differ