Skip to content

Commit

Permalink
[build] add temporary code to update documentattion workflow to gener…
Browse files Browse the repository at this point in the history
…ate correct api docs
  • Loading branch information
titusfortner committed Jun 24, 2024
1 parent 6936f64 commit fbd6ff3
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/update-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
- name: Get updated Rakefile
- name: TEMP Get correct generation code
run: |
git fetch origin auto_docs
git checkout origin/auto_docs -- Rakefile
git fetch origin trunk
git checkout origin/trunk -- Rakefile
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -54,10 +54,10 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
- name: Get updated Rakefile
- name: TEMP Get correct generation code
run: |
git fetch origin auto_docs
git checkout origin/auto_docs -- Rakefile
git fetch origin trunk
git checkout origin/trunk -- Rakefile
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -85,10 +85,12 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
- name: Get updated Rakefile
- name: TEMP Get correct generation code
run: |
git fetch origin auto_docs
git checkout origin/auto_docs -- Rakefile
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:
Expand Down Expand Up @@ -119,10 +121,10 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
- name: Get updated Rakefile
- name: TEMP Get correct generation code
run: |
git fetch origin auto_docs
git checkout origin/auto_docs -- Rakefile
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
Expand All @@ -149,10 +151,10 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
- name: Get updated Rakefile
- name: TEMP Get correct generation code
run: |
git fetch origin auto_docs
git checkout origin/auto_docs -- Rakefile
git fetch origin trunk
git checkout origin/trunk -- Rakefile
- name: Install npm dependencies
run: |
npm install
Expand Down

0 comments on commit fbd6ff3

Please sign in to comment.