-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 873 Bytes
/
sync.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
name: Sync
on:
schedule:
- cron: '30 6,15 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: |
yarn
- name: Collect
run: |
yarn start
- name: Add
run: |
git config --global user.email "[email protected]"
git config --global user.name "Atanas Atanasov"
git status
git add .
git commit -m ":package: Update downloads"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACCESS_TOKEN }}