1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-17 13:05:24 +00:00
v2fly/.github/workflows/updateGeofile.yml

25 lines
681 B
YAML
Raw Normal View History

2020-08-24 08:09:51 +00:00
name: Update Geofiles
2020-06-27 13:15:13 +00:00
on:
schedule:
2020-08-24 08:09:51 +00:00
- cron: "0 0 * * FRI"
2020-06-27 13:15:13 +00:00
jobs:
2020-08-24 08:09:51 +00:00
update:
2020-06-27 13:15:13 +00:00
runs-on: ubuntu-latest
steps:
2020-08-24 08:09:51 +00:00
- name: Checkout default branch
uses: actions/checkout@v2
- name: Download
run: |
curl -L -o release/config/geoip.dat "https://github.com/v2fly/geoip/raw/release/geoip.dat"
curl -L -o release/config/geosite.dat "https://github.com/v2fly/domain-list-community/raw/release/dlc.dat"
2020-06-27 13:15:13 +00:00
2020-08-24 08:09:51 +00:00
- name: push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "update geoip, geosite"
git push -v --progress