Skip to content

Commit d6c88e6

Browse files
committed
Add Pull-Request build
1 parent 8e210cf commit d6c88e6

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/gitbook-action.yml renamed to .github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Gitbook Action Build'
1+
name: 'Publish'
22
on:
33
push:
44
branches:

.github/workflows/pull-request.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Pull Request'
2+
on:
3+
pull_request:
4+
branches:
5+
- main # trigger branch
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout action
11+
uses: actions/checkout@v2
12+
- name: Gitbook Action
13+
uses: modelbox-ai/gitbook-action@master
14+
with:
15+
source_branch: main
16+
pull_request: true

0 commit comments

Comments
 (0)