File tree 1 file changed +11
-6
lines changed 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Sync geoip.dat with v2fly
2
2
on :
3
3
schedule :
4
4
- cron : " 0 1 * * 4"
5
+ push :
6
+ branches :
7
+ - master
8
+ paths-ignore :
9
+ - " **/README.md"
5
10
jobs :
6
11
sync :
7
12
runs-on : ubuntu-latest
@@ -44,24 +49,24 @@ jobs:
44
49
draft : false
45
50
prerelease : false
46
51
47
- - name : Upload dlc .dat
52
+ - name : Upload geoip .dat
48
53
if : ${{ env.NeedToSync }}
49
54
uses : actions/upload-release-asset@v1
50
55
env :
51
56
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
57
with :
53
58
upload_url : ${{ steps.create_release.outputs.upload_url }}
54
- asset_path : ./dlc .dat
55
- asset_name : dlc .dat
59
+ asset_path : ./geoip .dat
60
+ asset_name : geoip .dat
56
61
asset_content_type : application/octet-stream
57
62
58
- - name : Upload dlc .dat.sha256sum
63
+ - name : Upload geoip .dat.sha256sum
59
64
if : ${{ env.NeedToSync }}
60
65
uses : actions/upload-release-asset@v1
61
66
env :
62
67
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
68
with :
64
69
upload_url : ${{ steps.create_release.outputs.upload_url }}
65
- asset_path : ./dlc .dat.sha256sum
66
- asset_name : dlc .dat.sha256sum
70
+ asset_path : ./geoip .dat.sha256sum
71
+ asset_name : geoip .dat.sha256sum
67
72
asset_content_type : text/plain
You can’t perform that action at this time.
0 commit comments