-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (37 loc) · 1.13 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
schedule:
- cron: '0 16 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: 'DeSireFire/animeTrackerList'
path: .cache/animeTrackerList
- uses: actions/checkout@v4
with:
repository: 'XIU2/TrackersListCollection'
path: .cache/TrackersListCollection
- uses: actions/checkout@v4
with:
repository: 'ngosang/trackerslist'
path: .cache/trackerslist
- uses: actions/checkout@v4
with:
repository: 'hezhijie0327/Trackerslist'
path: .cache/Trackerslist
- name: build
run: |
bash script.sh
- name: config
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add all.txt
git commit -a -m "update: $(date) total: $(awk NF all.txt | wc -l)"
- name: update
uses: ad-m/github-push-action@master