add update workflow
This commit is contained in:
12
.gitea/workflows/update.yaml
Normal file
12
.gitea/workflows/update.yaml
Normal file
@@ -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'
|
||||||
Reference in New Issue
Block a user