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 97a486f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/hourly-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 97a486f

Please sign in to comment.