We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cdaf0 commit 8fbb175Copy full SHA for 8fbb175
.github/workflows/document.yaml
@@ -7,16 +7,16 @@ on:
7
- main
8
- develop
9
paths:
10
- - 'docs/**'
+ - "docs/**"
11
pull_request:
12
branches:
13
14
15
16
17
18
concurrency:
19
- group: 'pages'
+ group: "pages"
20
cancel-in-progress: true
21
22
permissions:
@@ -57,6 +57,12 @@ jobs:
57
cd docs
58
python build.py
59
60
+ - name: Redirect to the en documentation
61
+ run: |
62
+ username=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 1)
63
+ repository=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)
64
+ echo '<meta http-equiv="refresh" content="0; url=https://'$username'.github.io/'$repository'/en" />' > ./docs/pages/index.html
65
+
66
- name: Deploy documentation
67
uses: peaceiris/actions-gh-pages@v4
68
with:
0 commit comments