From 9e33eef825167a443a0c2078f2d3844f844bf371 Mon Sep 17 00:00:00 2001 From: Rodney <49618020+rodneybbjr@users.noreply.github.com> Date: Sun, 20 Apr 2025 21:31:56 -0400 Subject: [PATCH] add update workflow --- .gitea/workflows/update.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitea/workflows/update.yaml 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'