mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-17 23:34:48 +08:00
↑ Update main.yml
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -7,7 +7,14 @@ on:
|
|||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- build
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- 'LICENSE'
|
||||||
|
|
||||||
|
pull_request_target:
|
||||||
|
branches:
|
||||||
|
- build
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
@@ -18,8 +25,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
run: pip3 install -r requirements.txt
|
run: pip3 install -r requirements.txt
|
||||||
@@ -28,9 +34,9 @@ jobs:
|
|||||||
run: ./factory/auto_build.sh
|
run: ./factory/auto_build.sh
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.7
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
BRANCH: master
|
BRANCH: build
|
||||||
FOLDER: .
|
FOLDER: .
|
||||||
commit-message : 'Nightly build'
|
commit-message : 'Nightly build'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user