Skip to content

Commit

Permalink
Update update-db.yml
Browse files Browse the repository at this point in the history
add redirect following in curl
  • Loading branch information
artem-artemkin authored May 2, 2024
1 parent 13e6ff2 commit dc41295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
git config user.email maxmind-updater@github-actions
# скачать и разархивировать базу данных
curl -o geoLite2City.tar.gz --url "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$MAXMIND_LICENSE_KEY&suffix=tar.gz" || exit 1
curl -L -o geoLite2City.tar.gz --url "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$MAXMIND_LICENSE_KEY&suffix=tar.gz" || exit 1
tar -xzvf geoLite2City.tar.gz || exit 1
rm -f geoLite2City.tar.gz
Expand Down

0 comments on commit dc41295

Please sign in to comment.