diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml new file mode 100644 index 0000000..4267bbd --- /dev/null +++ b/.gitea/workflows/update.yaml @@ -0,0 +1,12 @@ +name: Update Adguard Instance +on: [push] + +jobs: + refresh_lists: + name: Refresh Filter Lists + if: gitea.repository == 'rodadmin/adguard' + runs-on: ubuntu-latest + steps: + -name: update rodneybrown.top instance + - run: curl -X 'POST' 'https://adguard.rodneybrown.top/control/filtering/refresh' -H 'accept: application/json' -H 'Authorization: Basic cm9kYWRtaW46UzVYJVUyJXlRI2FSNXBTNHdiQEJ1WWV1' + - run: curl -X 'POST' 'https://adguard.rodneybrown.top/control/filtering/refresh' -H 'accept: application/json' -H 'Authorization: Basic YWRtaW46ckxnb1Mzbmc0ZTZSZkxoaF42IyFoTUxz'