Skip to content

Update lists

Update lists #452

Workflow file for this run

name: Update lists
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
SUFFIX: https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/
steps:
- uses: actions/checkout@v4
- name: Clear existing *.txt files
run: rm -f *.txt
- name: Update lists
run: python3 update.py
- name: Update README.md
run: python3 update_readme.py
- name: git push
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions@github.com"
git add -A .
DATE=$(date +'%Y-%m-%d')
git commit -m "update $DATE" || exit 0
git push