Skip to content

Build AdGuard DNS filter #760

Build AdGuard DNS filter

Build AdGuard DNS filter #760

Workflow file for this run

name: Build AdGuard DNS filter
on:
schedule:
- cron: '24 19 */2 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: Get exclusions.txt
run: wget https://raw.githubusercontent.com/AdguardTeam/AdGuardSDNSFilter/master/Filters/exclusions.txt -O Filters/exclusions.txt
- name: yarn
run: |
yarn install
yarn run build
- name: Upload new filter
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add Filters/filter.txt
git commit -m "Build filter"
git push origin master