File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,15 @@ jobs:
107107 ls -lh sherpa.pdf
108108 cp -v sherpa.pdf ../html/
109109
110+ - name : Release sherpa.pdf
111+ if : (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push'
112+ uses : svenstaro/upload-release-action@v2
113+ with :
114+ file_glob : true
115+ overwrite : true
116+ file : ./docs/build/html/sherpa.pdf
117+ tag : doc
118+
110119 - name : Deploy
111120 uses : peaceiris/actions-gh-pages@v3
112121 with :
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ Please download it from the following address:
1111
1212 `<https://k2-fsa.github.io/sherpa/sherpa.pdf >`_
1313
14+ .. note ::
15+
16+ For Chinese users, you can use the following mirror:
17+
18+ `<https://hub.nuaa.cf/k2-fsa/sherpa/releases/download/doc/sherpa.pdf >`_
19+
1420Please always download the latest version.
1521
1622The pdf file is updated automagically whenever the doc is changed.
You can’t perform that action at this time.
0 commit comments