Skip to content

Commit 7da526c

Browse files
committed
ci: clarify push strategy
1 parent 8831290 commit 7da526c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/gitbook-action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout gh-pages
14-
- uses: actions/checkout@v2
15-
with:
16-
repository: Dronecode/camera-manager.dronecode.org
17-
path: gh-pages
1813
- name: Checkout Book
1914
- uses: actions/checkout@v2
2015
with:
21-
path: main
16+
path: book
2217
- name: Setting-up Book
2318
uses: actions/setup-node@v1
24-
- run: cd main
2519
- run: npm install gitbook-cli
26-
- run: gitbook install
27-
- run: gitbook build . ../gh-pages
20+
- run: gitbook install book
21+
- run: gitbook build book ../gh-pages
22+
- name: Checkout gh-pages
23+
- uses: actions/checkout@v2
24+
with:
25+
repository: Dronecode/camera-manager.dronecode.org
26+
path: gh-pages
27+
- run: ls -l gh-pages
2828
- name: Deploying book
2929
- uses: EndBug/add-and-commit@v4
3030
with:

0 commit comments

Comments
 (0)