Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

ADH Lists - Daily Task #991

ADH Lists - Daily Task

ADH Lists - Daily Task #991

Workflow file for this run

name: ADH Lists - Daily Task
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
check-and-trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
repository: 'dontobi/AdGuardHome-Lists'
token: ${{ secrets.ACTIONS_PAT }}
- name: Run Shell Script
id: script
run: |
mkdir output
cp whitelist.txt ./output
chmod +x ./build_blacklist.sh
sh ./build_blacklist.sh
cp blacklist.txt ./output
shell: bash
- name: Check GitHub Pages status
uses: crazy-max/[email protected]
with:
pages_threshold: major_outage
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/[email protected]
with:
target_branch: lists
build_dir: output
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }}