mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2024-09-19 19:25:45 +00:00
测试Javadoc部署
This commit is contained in:
parent
55263a4d5b
commit
b1b6b95a07
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,2 +1,2 @@
|
||||
github: [ CarmJos ]
|
||||
custom: ['https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg']
|
||||
custom: [ 'https://donate.carm.cc' ]
|
6
.github/workflows/javadoc.yml
vendored
6
.github/workflows/javadoc.yml
vendored
@ -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
11
.scripts/copy-javadoc.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user