mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 14:29:16 +08:00
Update sync-to-dist.yml
This commit is contained in:
parent
27bf240b0a
commit
7291427043
16
.github/workflows/sync-to-dist.yml
vendored
16
.github/workflows/sync-to-dist.yml
vendored
@ -19,15 +19,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: clone the website
|
- name: clone the website
|
||||||
run: git clone https://github.com/privacy-protection-tools/privacy-protection-tools.github.io.git ~/website
|
run: git clone https://github.com/privacy-protection-tools/anti-ad.github.io.git ~/website
|
||||||
- name: copy some list files
|
- name: copy some list files
|
||||||
run: |
|
run: |
|
||||||
cp ./anti-ad-easylist.txt ~/website/easylist.txt
|
cp ./anti-ad-easylist.txt ~/website/docs/easylist.txt
|
||||||
cp ./adblock-for-dnsmasq.conf ~/website/dnsmasq.conf
|
cp ./adblock-for-dnsmasq.conf ~/website/docs/dnsmasq.conf
|
||||||
cp ./adblock-for-dnsmasq.conf ~/website/anti-ad-for-dnsmasq.conf
|
cp ./adblock-for-dnsmasq.conf ~/website/docs/anti-ad-for-dnsmasq.conf
|
||||||
cp ./anti-ad-smartdns.conf ~/website/anti-ad-for-smartdns.conf
|
cp ./anti-ad-smartdns.conf ~/website/docs/anti-ad-for-smartdns.conf
|
||||||
cp ./anti-ad-surge.txt ~/website/surge.txt
|
cp ./anti-ad-surge.txt ~/website/docs/surge.txt
|
||||||
cp ./anti-ad-domains.txt ~/website/domains.txt
|
cp ./anti-ad-domains.txt ~/website/docs/domains.txt
|
||||||
- name: Commit files
|
- name: Commit files
|
||||||
run: |
|
run: |
|
||||||
cd ~/website
|
cd ~/website
|
||||||
@ -41,4 +41,4 @@ jobs:
|
|||||||
github_token: ${{ secrets.PERSON_TOKEN }}
|
github_token: ${{ secrets.PERSON_TOKEN }}
|
||||||
branch: 'master'
|
branch: 'master'
|
||||||
directory: '/home/runner/website'
|
directory: '/home/runner/website'
|
||||||
repository: 'privacy-protection-tools/privacy-protection-tools.github.io'
|
repository: 'privacy-protection-tools/anti-ad.github.io'
|
||||||
|
Loading…
Reference in New Issue
Block a user