Update GeoLite.yml

This commit is contained in:
hRun 2023-04-12 06:20:25 -07:00 committed by GitHub
parent 95ae37f2ec
commit 4d4081ba47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,10 @@ jobs:
- name: Copy GeoLite2.csv
run: |
cp -v GeoLite*/*.csv upload
split -l 650000 -d upload/GeoLite2-City-Blocks-IPv4.csv upload/GeoLite2-City-Blocks-IPv4.csv.
rm upload/GeoLite2-City-Blocks-IPv4.csv
split -l 650000 -d upload/GeoLite2-City-Blocks-IPv6.csv upload/GeoLite2-City-Blocks-IPv6.csv.
rm upload/GeoLite2-City-Blocks-IPv6.csv
echo "TAG_NAME=$(date +"%Y.%m.%d")" >> $GITHUB_ENV
- name: Push to "download" branch