Add idx.dev #118
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: Update automated lists | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'pihole-google.txt' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Update categories | |
run: | | |
python3 convert.py categories | |
- name: Update AdGuard lists | |
run: | | |
python3 convert.py adguard | |
python3 convert.py adguard_important | |
- name: Update parsed list | |
run: | | |
python3 convert.py pihole | |
- name: Update Unbound list | |
run: | | |
python3 convert.py unbound | |
- name: Commit automated updates | |
run: | | |
git add . && git commit -am "Automated update | |
- Categories lists update | |
- AdGuard list update | |
- Parsed list update | |
- Unbound list update" | |
git push |