update workflow
Some checks failed
Update Adguard Instance / Refresh Filter Lists (push) Failing after 1s

This commit is contained in:
Rodney
2025-04-20 22:40:16 -04:00
parent a3417159d2
commit 1921202fdb

View File

@@ -5,8 +5,10 @@ jobs:
refresh_lists:
name: Refresh Filter Lists
if: gitea.repository == 'rodadmin/adguard'
runs-on: ubuntu-latest
steps:
- name: update adguard instances
- 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'"
runs-on: testing
uses: "joelwmale/webhook-action@{cc1a66f987e1591785273fd6f9d2f7a9d8d7c9cd}"
with:
url: ${{ secrets.YUNO_WEBHOOK_URL }}
headers: '{"Authorization": ${{ secrets.YUNNO_WEBHOOK_AUTH }}}'
body: '{"whitelist": true}'
github_event_payload: false