VPN Combine ALL IP address #230
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: VPN Combine ALL IP address | |
on: | |
schedule: | |
- cron: '0 */2 * * *' # Runs every 2 hours | |
workflow_dispatch: | |
jobs: | |
process-data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: pip install pandas requests | |
- name: Run the script to generate the VPN IP list | |
working-directory: Lists/VPN | |
run: python create_all_vpn_ip_list.py | |
- name: List generated files | |
run: ls -lah Lists/VPN/ | |
- name: Commit and Push All Generated Files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git pull | |
git add Lists/VPN/ | |
git commit -m "Update VPN IP List" --allow-empty | |
git push |