File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ name: docs
2
2
3
3
on :
4
4
pull_request :
5
- types :
6
- - opened
7
- - synchronize
8
- - closed
9
5
paths :
10
6
# existing docs
11
7
- ' docs/**'
15
11
- ' cli/**'
16
12
# potential changes to gRPC documentation
17
13
- ' rpc/**'
14
+ push :
15
+ branches :
16
+ - master
17
+ # At this day, GitHub doesn't support YAML anchors, d'oh!
18
+ paths :
19
+ - ' docs/**'
20
+ - ' docsgen/**'
21
+ - ' cli/**'
22
+ - ' rpc/**'
18
23
19
24
jobs :
20
25
build :
67
72
run : task docs:build
68
73
69
74
- name : Deploy
70
- # publish docs only when PR is merged
71
- if : github.event.pull_request.merged == true
75
+ # publish docs only when PR is merged on master
76
+ if : github.event_name == 'push'
72
77
uses : peaceiris/actions-gh-pages@v3
73
78
with :
74
79
github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ interface of the CLI. Available services and messages are detailed in the
22
22
[ installation ] : installation.md
23
23
[ Getting started guide ] : getting-started.md
24
24
[ client_example ] : https://github.com/arduino/arduino-cli/blob/master/client_example
25
- [ gRPC reference ] : rpc/commands
25
+ [ gRPC reference ] : rpc/commands
You can’t perform that action at this time.
0 commit comments