23
23
run : |
24
24
git config --local user.email "[email protected] "
25
25
git config --local user.name "Selenium CI Bot"
26
- - name : TEMP Get correct generation code
27
- run : |
28
- git fetch origin trunk
29
- git checkout origin/trunk -- Rakefile
30
26
- name : Setup Java
31
27
uses : actions/setup-java@v3
32
28
with :
54
50
run : |
55
51
git config --local user.email "[email protected] "
56
52
git config --local user.name "Selenium CI Bot"
57
- - name : TEMP Get correct generation code
58
- run : |
59
- git fetch origin trunk
60
- git checkout origin/trunk -- Rakefile
61
53
- name : Setup Java
62
54
uses : actions/setup-java@v3
63
55
with :
85
77
run : |
86
78
git config --local user.email "[email protected] "
87
79
git config --local user.name "Selenium CI Bot"
88
- - name : TEMP Get correct generation code
89
- run : |
90
- git fetch origin trunk
91
- git cherry-pick da71ba31
92
- git cherry-pick 6936f642
93
- git checkout origin/trunk -- Rakefile
94
80
- name : Set up Python 3.8
95
81
uses : actions/setup-python@v4
96
82
with :
@@ -121,10 +107,6 @@ jobs:
121
107
run : |
122
108
git config --local user.email "[email protected] "
123
109
git config --local user.name "Selenium CI Bot"
124
- - name : TEMP Get correct generation code
125
- run : |
126
- git fetch origin trunk
127
- git checkout origin/trunk -- Rakefile
128
110
- name : Install specific version of DocFX tool
129
111
# Pinning to 2.75.3 to avoid breaking changes in newer versions
130
112
# See https://github.com/dotnet/docfx/issues/9855
@@ -151,10 +133,6 @@ jobs:
151
133
run : |
152
134
git config --local user.email "[email protected] "
153
135
git config --local user.name "Selenium CI Bot"
154
- - name : TEMP Get correct generation code
155
- run : |
156
- git fetch origin trunk
157
- git checkout origin/trunk -- Rakefile
158
136
- name : Install npm dependencies
159
137
run : |
160
138
npm install
@@ -211,3 +189,21 @@ jobs:
211
189
done
212
190
- name : Push Branch
213
191
run : git push origin api-docs-${{ inputs.tag }}
192
+ - name : Documentation Pull Request
193
+ uses : peter-evans/create-pull-request@v6
194
+ with :
195
+ token : ${{ secrets.SELENIUM_CI_TOKEN }}
196
+ author :
Selenium CI Bot <[email protected] >
197
+ delete-branch : true
198
+ branch : api-docs-${{ inputs.tag }}
199
+ base : gh-pages
200
+ title : Update documentation for ${{ inputs.tag }}
201
+ body : |
202
+ This PR updates the API documentation for all bindings
203
+ based on the provided tag name.
204
+
205
+ - Auto-generated by [create-pull-request][1]
206
+
207
+ [1]: https://github.com/peter-evans/create-pull-request
208
+ labels : documentation
209
+ draft : false
0 commit comments