Skip to content

Commit

Permalink
Update and rename sing-box/sync.yml to .github/workflows/sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HotKids authored Dec 11, 2023
1 parent 85d45c6 commit 1775990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sing-box/sync.yml → .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Config Update

on:
push:
branches: [ main ]
branches: [ master ]
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
Expand All @@ -23,11 +23,11 @@ jobs:
pip install pandas requests pyyaml
- name: Run script
run: python ../main.py
working-directory: ./rule/
working-directory: ./sing-box/
- name: Commit and push config.json
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add ./rule/*.json
git add ./sing-box/*.json
git commit -m "Add JSON files"
git push

0 comments on commit 1775990

Please sign in to comment.