File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 using : " composite"
2121 steps :
2222
23- - name : Get version
24- id : version-get
25- run : |
26- chmod +x ./scripts/get-version.bash
27- VERSION=$(./scripts/get-version.bash)
28- echo "version=${VERSION}" >> $GITHUB_OUTPUT
29- if [ "$VERSION" != "0" ]; then
30- echo "Version detected: $VERSION"
31- else
32- echo "No version detacted"
33- fi
34- shell : bash
35-
3623 - name : Generate file name
3724 run : |
3825 USE_ALL_IN_ONE=""
5037 uses : robinraju/release-downloader@v1
5138 with :
5239 repository : ' PJ-568/MAKRDOWN.HTML'
53- tag : ${{ steps.version-get.outputs.version }}
40+ latest : true
5441 fileName : ${{ steps.file-name.outputs.file_name }}
5542 tarBall : false
5643 zipBall : false
Original file line number Diff line number Diff line change 11<!doctype html>
22
33< html >
4- < markdown-html version ="1.17.5 " author ="PJ568 " repo ="https://github.com/PJ-568/markdown.html "
4+ < markdown-html version ="1.17.6 " author ="PJ568 " repo ="https://github.com/PJ-568/markdown.html "
55 license ="CC BY-SA 4.0 International "> </ markdown-html >
66
77< head >
Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
77# # 仓库目录 | Repository Directory
88REPO_DIR=" $( dirname " $SCRIPT_DIR " ) "
99# # 文件路径 | File Path
10- FILE_PATH=" $REPO_DIR /index.html"
10+ if [ -n " $1 " ]; then
11+ FILE_PATH=" $1 "
12+ else
13+ FILE_PATH=" $REPO_DIR /index.html"
14+ fi
1115# # 当前语言 | Current Language
1216CURRENT_LANG=0 # ## 0: en-US, 1: zh-Hans-CN
1317
You can’t perform that action at this time.
0 commit comments