Skip to content

Commit e0a1660

Browse files
author
Richard Chen
authored
Merge pull request #29 from Loyalsoldier/fix-filename
Fix: filename error
2 parents cf664e0 + d8bad4b commit e0a1660

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/sync.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Sync geoip.dat with v2fly
22
on:
33
schedule:
44
- cron: "0 1 * * 4"
5+
push:
6+
branches:
7+
- master
8+
paths-ignore:
9+
- "**/README.md"
510
jobs:
611
sync:
712
runs-on: ubuntu-latest
@@ -44,24 +49,24 @@ jobs:
4449
draft: false
4550
prerelease: false
4651

47-
- name: Upload dlc.dat
52+
- name: Upload geoip.dat
4853
if: ${{ env.NeedToSync }}
4954
uses: actions/upload-release-asset@v1
5055
env:
5156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5257
with:
5358
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
5661
asset_content_type: application/octet-stream
5762

58-
- name: Upload dlc.dat.sha256sum
63+
- name: Upload geoip.dat.sha256sum
5964
if: ${{ env.NeedToSync }}
6065
uses: actions/upload-release-asset@v1
6166
env:
6267
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6368
with:
6469
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
6772
asset_content_type: text/plain

0 commit comments

Comments
 (0)