diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 758eaade..5be316e0 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