mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 22:39:16 +08:00
24 lines
582 B
YAML
24 lines
582 B
YAML
name: Auto build new list
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "1 13 */6 * *"
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Run start-ci.sh
|
|
run: |
|
|
./start-ci.sh
|
|
- name: Commit files
|
|
run: |
|
|
git config --local user.email "action@github.com"
|
|
git config --local user.name "GitHub Action"
|
|
git commit -m "Auto renew the anti-AD list." -a
|
|
- name: Push changes
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.PERSON_TOKEN }}
|
|
branch: 'master'
|