1
mirror of https://github.com/CarmJos/EasyPlugin.git synced 2024-09-19 19:25:45 +00:00

测试Javadoc部署

This commit is contained in:
Carm Jos 2022-01-08 01:47:49 +08:00
parent 55263a4d5b
commit b1b6b95a07
3 changed files with 14 additions and 7 deletions

4
.github/FUNDING.yml vendored
View File

@ -1,2 +1,2 @@
github: [CarmJos]
custom: ['https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg']
github: [ CarmJos ]
custom: [ 'https://donate.carm.cc' ]

View File

@ -32,11 +32,7 @@ jobs:
- name: Copy to Location
run: |
rm -rf docs
mkdir -vp docs
for i in ../easyplugin* ; do if test -e "$i/target/apidocs/"; then echo cp -vrf "$i/target/apidocs/*" "docs/$1/"; fi ;done;
cp -vrf .documentation/javadoc/JAVADOC-README.md docs/README.md
cp -vrf .documentation/javadoc/index.html docs/index.html
bash .scripts/copy-javadoc.sh
- name: Generate the sitemap
id: sitemap

11
.scripts/copy-javadoc.sh Normal file
View File

@ -0,0 +1,11 @@
rm -rf docs
mkdir -vp docs
for i in ../easyplugin*; do
if test -e "$i/target/apidocs/"; then
cp -vrf "$i/target/apidocs/*" "docs/$1/"
fi
done
cp -vrf .documentation/javadoc/JAVADOC-README.md docs/README.md
cp -vrf .documentation/javadoc/index.html docs/index.html