mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-04 16:48:16 +08:00
测试Javadoc部署
This commit is contained in:
+2
-2
@@ -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' ]
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user