-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1.2 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Update adblock source list
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Isi dengan opsi jika diperlukan
# repository: ''
# ref: ''
# token: ''
# ssh-key: ''
# ssh-known-hosts: ''
# ssh-strict: ''
# ssh-user: ''
# persist-credentials: ''
# path: ''
# clean: ''
# filter: ''
# sparse-checkout: ''
# sparse-checkout-cone-mode: ''
# fetch-depth: ''
# fetch-tags: ''
# show-progress: ''
# lfs: ''
# submodules: ''
# set-safe-directory: ''
# github-server-url: ''
- name: Download adblock lists
run: |
echo "Downloading big adblock list..."
curl -s 'https://big.oisd.nl/domainswild' -o big.txt
echo "Downloading small adblock list..."
curl -s 'https://small.oisd.nl/domainswild' -o small.txt
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply update