mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Create dlc.yml
This commit is contained in:
parent
221aaad315
commit
d017ceda7d
28
.github/workflows/dlc.yml
vendored
Normal file
28
.github/workflows/dlc.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Update dlc
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * FRI'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Update
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Download and Write
|
||||||
|
run: |
|
||||||
|
curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/raw/release/geoip.dat"
|
||||||
|
curl -L -o release/config/geosite.dat "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat"
|
||||||
|
|
||||||
|
- name: push
|
||||||
|
run: |
|
||||||
|
git config --local user.email "action@github.com"
|
||||||
|
git config --local user.name "GitHub Action"
|
||||||
|
git commit -am "update geoip, geosite" -a
|
||||||
|
git push -v --progress
|
||||||
|
|
Loading…
Reference in New Issue
Block a user