1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 14:26:11 -04:00
v2fly/.github/workflows/updateGeofile.yml

25 lines
675 B
YAML
Raw Normal View History

2020-08-24 04:09:51 -04:00
name: Update Geofiles
2020-06-27 09:15:13 -04:00
on:
schedule:
2020-08-24 04:09:51 -04:00
- cron: "0 0 * * FRI"
2020-06-27 09:15:13 -04:00
jobs:
2020-08-24 04:09:51 -04:00
update:
2020-06-27 09:15:13 -04:00
runs-on: ubuntu-latest
steps:
2020-08-30 13:28:47 -04:00
- name: Checkout codebase
2020-08-24 04:09:51 -04:00
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 09:15:13 -04:00
2020-08-24 04:09:51 -04: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