Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/sphinxbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,15 +483,14 @@ jobs:

git fetch origin ${{ github.event.repository.default_branch }} ${{ github.ref_name }}

# git show, not checkout: gh-pages has its own copies at the root, leave them alone
# Add go.php redirect from main branch
git checkout origin/${{ github.event.repository.default_branch }} -- go.php/index.html
mkdir -p server/${branch}/go.php
mv go.php/index.html server/${branch}/go.php/index.html
git show origin/${{ github.event.repository.default_branch }}:go.php/index.html > server/${branch}/go.php/index.html

# Add user_manual english redirect
git checkout origin/${{ github.ref_name }} -- user_manual/index.html
mkdir -p server/${branch}/user_manual
mv user_manual/index.html server/${branch}/user_manual/index.html
git show origin/${{ github.ref_name }}:user_manual/index.html > server/${branch}/user_manual/index.html

# Also copy to versioned folder if applicable
if [ -n "${additional}" ]; then
Expand Down
Loading