FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-interface/.github/workflows/docs.yml at main · mcxinyu/javascript-interface · GitHub
mcxinyu
javascript-interface
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-interface
/
.github
/
workflows
/
docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (49 loc) · 1.33 KB
Breadcrumbs
javascript-interface
/
.github
/
workflows
/
docs.yml
Copy path
File metadata and controls
52 lines (49 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name
:
docs
on
:
push
:
tags
:
-
'
docs-*
'
#
paths:
#
- '.github/workflows/docs.yml'
#
- 'docs/**'
#
- 'mkdocs.yml'
#
- 'core/src/main/java/**'
#
- 'tbsx5/src/main/java/**'
workflow_dispatch
:
branches
:
-
'
master
'
-
'
main
'
permissions
:
contents
:
write
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
with
:
fetch-depth
:
0
-
uses
:
gradle/gradle-build-action@v2
-
name
:
Build dokka
run
:
chmod +x gradlew &&./gradlew dokkaGfmMultiModule --no-daemon --stacktrace
-
name
:
copy dokka
run
:
cp -r build/dokka/gfmMultiModule/ docs/api/
-
uses
:
actions/setup-python@v4
with
:
python-version
:
3.x
-
run
:
|
pip install mkdocs-material=="9.*"
pip install jieba
pip install mkdocs-git-revision-date-localized-plugin
pip install mike
git config user.name yuefeng
git config user.email mcxinyu@foxmail.com
#
- run: mkdocs gh-deploy --force
-
uses
:
olegtarasov/get-tag@v2.1.2
id
:
tag_name
with
:
tagRegex
:
"
docs-(.*)
"
tagRegexGroup
:
1
-
run
:
|
mike deploy --push -u ${{ steps.tag_name.outputs.tag }} latest
mike set-default --push latest
mike list
Back
|
FazBrowse Home
|
New Git URL