Skip to content

Commit

Permalink
Update run-geoip2dat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rabuchaim authored Nov 29, 2023
1 parent f4a6862 commit 2dc6689
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/run-geoip2dat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ jobs:
python3 geoip2fast/geoip2fast.py --coverage > "IPv4_Coverage_${PERCENTAGE}_percent.txt"
mv -vf geoip2fast.dat.gz geoip2fast/geoip2fast-asn-ipv6.dat.gz
- name: Push to "main" branch
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
cd geoip2fast
git add geoip2fast*.dat.gz
cd ../geoip2fast-legacy-v1.1.9
git add geoip2fast*.dat.gz
git commit -m "Updated dat.gz from Maxmind-CSV_${{ env.TAG_DATE }}"
git remote set-url origin "https://${{ secrets.TOKEN }}@github.com/${{ github.repository }}"
git push -f origin main
# - name: Push to "main" branch
# run: |
# git config user.name "${{ github.actor }}"
# git config user.email "${{ github.actor }}@users.noreply.github.com"
# cd geoip2fast
# git add geoip2fast*.dat.gz
# cd ../geoip2fast-legacy-v1.1.9
# git add geoip2fast*.dat.gz
# git commit -m "Updated dat.gz from Maxmind-CSV_${{ env.TAG_DATE }}"
# git remote set-url origin "https://${{ secrets.TOKEN }}@github.com/${{ github.repository }}"
# git push -f origin main

- name: Upload to Releases Legacy v1.1.9
uses: softprops/[email protected]
Expand Down

0 comments on commit 2dc6689

Please sign in to comment.