mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
Update auto-rebuild.yml
This commit is contained in:
parent
e97f380434
commit
e051c795aa
8
.github/workflows/auto-rebuild.yml
vendored
8
.github/workflows/auto-rebuild.yml
vendored
@ -21,10 +21,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: co dev
|
- name: co master
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: 'dev'
|
ref: 'master'
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Run
|
- name: Run
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
git checkout scripts
|
git checkout scripts
|
||||||
/bin/bash ./scripts/build-list.sh
|
/bin/bash ./scripts/build-list.sh
|
||||||
git stash -u
|
git stash -u
|
||||||
git checkout dev
|
git checkout master
|
||||||
git checkout stash@{0}^3 -- adblock-for-dnsmasq.conf
|
git checkout stash@{0}^3 -- adblock-for-dnsmasq.conf
|
||||||
git checkout stash@{0}^3 -- anti-ad-*
|
git checkout stash@{0}^3 -- anti-ad-*
|
||||||
git add *
|
git add *
|
||||||
@ -45,5 +45,5 @@ jobs:
|
|||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.PERSON_TOKEN }}
|
github_token: ${{ secrets.PERSON_TOKEN }}
|
||||||
branch: 'dev'
|
branch: 'master'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user