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:
Loyalsoldier 2020-10-03 10:35:34 +08:00 committed by GitHub
parent 4f9d05fe91
commit bfd0a1bb8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,10 @@ jobs:
ref: hidden ref: hidden
- name: Get GeoLite2 zip file - name: Get GeoLite2 zip file
env:
LICENSE_KEY: ${{ secrets.MAXMIND_GEOLITE2_LICENSE }}
run: | 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 unzip GeoLite2-Country-CSV.zip
rm -f GeoLite2-Country-CSV.zip rm -f GeoLite2-Country-CSV.zip
mv GeoLite2* geoip mv GeoLite2* geoip