From bfd0a1bb8ba025b56975cd8bcce26897955707f0 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Sat, 3 Oct 2020 10:35:34 +0800 Subject: [PATCH] Update and hide MaxMind GeoLite2 Database LICENSE KEY Please apply your LICENSE KEY at https://dev.maxmind.com/geoip/geoip2/geolite2/ --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 758eaade84..5be316e0ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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