1
mirror of https://github.com/CarmJos/EasySQL.git synced 2026-06-05 00:25:32 +08:00

修改javadoc生成方式

This commit is contained in:
2021-12-14 06:03:44 +08:00
parent cbb3576167
commit 0f94204b6a
4 changed files with 9 additions and 4 deletions
+4 -4
View File
@@ -24,20 +24,20 @@ jobs:
distribution: 'adopt'
- name: Generate docs
run: mvn javadoc:javadoc
run: mvn clean package
- name: Copy to Location
run: |
rm -rf docs
mkdir -vp docs
cp -vrf easysql-api/target/site/apidocs/* docs/
cp -vrf easysql-api/target/apidocs/* docs/
cp -vrf JAVADOC-README.md docs/README.md
- name: Generate the sitemap
id: sitemap
uses: cicirello/generate-sitemap@v1
with:
base-url-path: https://carmjos.github.io/userprefix
base-url-path: https://carmjos.github.io/easysql
path-to-root: docs
- name: Output stats
@@ -62,7 +62,7 @@ jobs:
run: |
cd docs
git init
git remote add origin git@github.com:CarmJos/UserPrefix.git
git remote add origin git@github.com:CarmJos/EasySQL.git
git checkout -b gh-pages
git add -A
git commit -m "API Document generated."