mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-12-26 04:54:13 +08:00
Update and hide MaxMind GeoLite2 Database LICENSE KEY
Please apply your LICENSE KEY at https://dev.maxmind.com/geoip/geoip2/geolite2/
This commit is contained in:
parent
4f9d05fe91
commit
bfd0a1bb8b
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -48,8 +48,10 @@ jobs:
|
||||
ref: hidden
|
||||
|
||||
- name: Get GeoLite2 zip file
|
||||
env:
|
||||
LICENSE_KEY: ${{ secrets.MAXMIND_GEOLITE2_LICENSE }}
|
||||
run: |
|
||||
curl -L -o GeoLite2-Country-CSV.zip "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=JvbzLLx7qBZT&suffix=zip"
|
||||
curl -L -o GeoLite2-Country-CSV.zip "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${LICENSE_KEY}&suffix=zip"
|
||||
unzip GeoLite2-Country-CSV.zip
|
||||
rm -f GeoLite2-Country-CSV.zip
|
||||
mv GeoLite2* geoip
|
||||
|
Loading…
x
Reference in New Issue
Block a user