-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 920 Bytes
/
blank.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
name: c
on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
schedule:
- cron: '0 8 15 * *'
# - cron: '*/2 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update
- run: sudo apt-get install perl libnet-cidr-lite-perl libtext-csv-perl
- run: bash ./sh.sh
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add geoip* xt_geoip
git commit -m "Robot update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
force: true
github_token: ${{ secrets.GITHUB_TOKEN }}
#- uses: actions/upload-artifact@main
# with:
# name: tor_geoip
# path: |
# geoip*
# xt_geoip