Skip to content

Add new domains closes #187 #113

Add new domains closes #187

Add new domains closes #187 #113

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