2323 run : |
2424 git config --local user.email "selenium-ci@users.noreply.github.com"
2525 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
3026 - name : Setup Java
3127 uses : actions/setup-java@v3
3228 with :
5450 run : |
5551 git config --local user.email "selenium-ci@users.noreply.github.com"
5652 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
6153 - name : Setup Java
6254 uses : actions/setup-java@v3
6355 with :
8577 run : |
8678 git config --local user.email "selenium-ci@users.noreply.github.com"
8779 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
9480 - name : Set up Python 3.8
9581 uses : actions/setup-python@v4
9682 with :
@@ -121,10 +107,6 @@ jobs:
121107 run : |
122108 git config --local user.email "selenium-ci@users.noreply.github.com"
123109 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
128110 - name : Install specific version of DocFX tool
129111 # Pinning to 2.75.3 to avoid breaking changes in newer versions
130112 # See https://github.com/dotnet/docfx/issues/9855
@@ -151,10 +133,6 @@ jobs:
151133 run : |
152134 git config --local user.email "selenium-ci@users.noreply.github.com"
153135 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
158136 - name : Install npm dependencies
159137 run : |
160138 npm install
@@ -211,3 +189,21 @@ jobs:
211189 done
212190 - name : Push Branch
213191 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 <selenium-ci@users.noreply.github.com>
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