This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
Collect IPs #14393
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Collect IPs" | |
on: | |
push: | |
branches: [ "main" ] | |
schedule: | |
- cron: '0 1 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Resolve domains, collect and store IP addresses | |
run: | | |
python -m pip install dnspython | |
python collect.py | |
git config --global user.email "[email protected]" | |
git config --global user.name "Vahid Farid" | |
git add -A | |
git commit -m "Automatic update" | |
git push |