File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy DCM User Guide
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout gh-pages
14
+ - uses : actions/checkout@v2
15
+ with :
16
+ repository : Dronecode/camera-manager.dronecode.org
17
+ path : gh-pages
18
+ - name : Checkout Book
19
+ - uses : actions/checkout@v2
20
+ with :
21
+ path : main
22
+ - name : Setting-up Book
23
+ uses : actions/setup-node@v1
24
+ - run : cd main
25
+ - run : npm install gitbook-cli
26
+ - run : gitbook install
27
+ - run : gitbook build . ../gh-pages
28
+ - name : Deploying book
29
+ - uses : EndBug/add-and-commit@v4
30
+ with :
31
+ author_name : PX4BuildBot
32
+ author_email : px4buildbot@px4.io
33
+ message : " gitbook build update ${{date}}"
34
+ cwd : " gh-pages"
35
+ add : " *"
36
+ env :
37
+ GITHUB_TOKEN : ${{ secrets.PX4BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments