-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] have update-documentation make a PR from the updated branch
- Loading branch information
1 parent
fbd6ff3
commit 4ec3e7a
Showing
1 changed file
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Selenium CI Bot" | ||
- name: TEMP Get correct generation code | ||
run: | | ||
git fetch origin trunk | ||
git checkout origin/trunk -- Rakefile | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -54,10 +50,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Selenium CI Bot" | ||
- name: TEMP Get correct generation code | ||
run: | | ||
git fetch origin trunk | ||
git checkout origin/trunk -- Rakefile | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -85,12 +77,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Selenium CI Bot" | ||
- name: TEMP Get correct generation code | ||
run: | | ||
git fetch origin trunk | ||
git cherry-pick da71ba31 | ||
git cherry-pick 6936f642 | ||
git checkout origin/trunk -- Rakefile | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -121,10 +107,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Selenium CI Bot" | ||
- name: TEMP Get correct generation code | ||
run: | | ||
git fetch origin trunk | ||
git checkout origin/trunk -- Rakefile | ||
- name: Install specific version of DocFX tool | ||
# Pinning to 2.75.3 to avoid breaking changes in newer versions | ||
# See https://github.com/dotnet/docfx/issues/9855 | ||
|
@@ -151,10 +133,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Selenium CI Bot" | ||
- name: TEMP Get correct generation code | ||
run: | | ||
git fetch origin trunk | ||
git checkout origin/trunk -- Rakefile | ||
- name: Install npm dependencies | ||
run: | | ||
npm install | ||
|
@@ -211,3 +189,21 @@ jobs: | |
done | ||
- name: Push Branch | ||
run: git push origin api-docs-${{ inputs.tag }} | ||
- name: Documentation Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ secrets.SELENIUM_CI_TOKEN }} | ||
author: Selenium CI Bot <[email protected]> | ||
delete-branch: true | ||
branch: api-docs-${{ inputs.tag }} | ||
base: gh-pages | ||
title: Update documentation for ${{ inputs.tag }} | ||
body: | | ||
This PR updates the API documentation for all bindings | ||
based on the provided tag name. | ||
- Auto-generated by [create-pull-request][1] | ||
[1]: https://github.com/peter-evans/create-pull-request | ||
labels: documentation | ||
draft: false |