mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-05 00:58:17 +08:00
测试Javadoc部署
This commit is contained in:
@@ -46,6 +46,7 @@ jobs:
|
|||||||
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
|
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
|
||||||
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
|
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
|
||||||
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
|
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
|
||||||
|
ls -l docs
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
rm -rf docs
|
rm -rf docs
|
||||||
mkdir -vp docs
|
mkdir -vp docs
|
||||||
|
|
||||||
|
DOC_URL="target/site/apidocs/"
|
||||||
|
|
||||||
for FILE in easyplugin-*; do
|
for FILE in easyplugin-*; do
|
||||||
|
|
||||||
if test -e "$FILE/target/site/apidocs/"; then
|
if test -e "$FILE/$DOC_URL"; then
|
||||||
|
ls -l "$FILE/*"
|
||||||
|
|
||||||
DOC_NAME="${FILE:11}"
|
MODULE_FILE="docs/${FILE:11}/"
|
||||||
mkdir -vp "docs/$DOC_NAME/"
|
|
||||||
|
|
||||||
cp -vrf "$FILE/target/site/apidocs/*" "docs/$DOC_NAME/"
|
mkdir -vp "$MODULE_FILE"
|
||||||
|
|
||||||
|
cp -vrf "$FILE/$DOC_URL*" "$MODULE_FILE"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user