diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 3c4cd62..08d1323 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -26,39 +26,18 @@ jobs:
server-id: github
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
- - name: "Deploy"
+
+ - name: "Maven Deploy"
run: mvn -B deploy --file pom.xml -DskipTests
env:
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- javadoc-website:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout the repo
- uses: actions/checkout@v2
-
- - name: Set up the Java JDK
- uses: actions/setup-java@v2
- with:
- cache: maven
- java-version: '11'
- distribution: 'adopt'
- server-id: github
- server-username: MAVEN_USERNAME
- server-password: MAVEN_TOKEN
-
- - name: Generate docs
- run: mvn javadoc:javadoc -DskipTests
- env:
- MAVEN_USERNAME: ${{ github.repository_owner }}
- MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
-
- - name: Copy to Location
+ - name: "Copy Javadoc"
run: |
bash .scripts/copy-javadoc.sh
- - name: Generate the sitemap
+ - name: "Generate Sitemap"
id: sitemap
uses: cicirello/generate-sitemap@v1
with:
@@ -92,7 +71,8 @@ jobs:
git checkout -b gh-pages
git add -A
git commit -m "API Document generated."
- - name: Push javadocs
+
+ - name: Javadoc Website Push
run: |
cd docs
git push origin HEAD:gh-pages --force
\ No newline at end of file
diff --git a/.scripts/copy-javadoc.sh b/.scripts/copy-javadoc.sh
index ba8631b..eb0917b 100644
--- a/.scripts/copy-javadoc.sh
+++ b/.scripts/copy-javadoc.sh
@@ -1,7 +1,7 @@
rm -rf docs
mkdir -vp docs
-DOC_URL="target/site/apidocs"
+DOC_URL="target/apidocs"
for FILE in easyplugin-*; do
diff --git a/easyplugin-all/pom.xml b/easyplugin-all/pom.xml
index 41fcc1b..4d48b1d 100644
--- a/easyplugin-all/pom.xml
+++ b/easyplugin-all/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-bom/pom.xml b/easyplugin-bom/pom.xml
index 517c151..e703d83 100644
--- a/easyplugin-bom/pom.xml
+++ b/easyplugin-bom/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-command/pom.xml b/easyplugin-command/pom.xml
index 8312944..a207715 100644
--- a/easyplugin-command/pom.xml
+++ b/easyplugin-command/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-common/pom.xml b/easyplugin-common/pom.xml
index b1fe301..8346c69 100644
--- a/easyplugin-common/pom.xml
+++ b/easyplugin-common/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-configuration/pom.xml b/easyplugin-configuration/pom.xml
index c917b54..18b8cbf 100644
--- a/easyplugin-configuration/pom.xml
+++ b/easyplugin-configuration/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-database/pom.xml b/easyplugin-database/pom.xml
index 9158bf3..5f11a68 100644
--- a/easyplugin-database/pom.xml
+++ b/easyplugin-database/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-gui/pom.xml b/easyplugin-gui/pom.xml
index df1557c..ad92906 100644
--- a/easyplugin-gui/pom.xml
+++ b/easyplugin-gui/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-lp/pom.xml b/easyplugin-lp/pom.xml
index 69cda16..dd317c7 100644
--- a/easyplugin-lp/pom.xml
+++ b/easyplugin-lp/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-main/pom.xml b/easyplugin-main/pom.xml
index 89fcd33..54c7339 100644
--- a/easyplugin-main/pom.xml
+++ b/easyplugin-main/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-placeholderapi/pom.xml b/easyplugin-placeholderapi/pom.xml
index adae853..a746c3e 100644
--- a/easyplugin-placeholderapi/pom.xml
+++ b/easyplugin-placeholderapi/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/easyplugin-vault/pom.xml b/easyplugin-vault/pom.xml
index a417de4..e37a228 100644
--- a/easyplugin-vault/pom.xml
+++ b/easyplugin-vault/pom.xml
@@ -5,7 +5,7 @@
easyplugin-parent
cc.carm.lib
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
4.0.0
diff --git a/pom.xml b/pom.xml
index 2648341..e5cd622 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
cc.carm.lib
easyplugin-parent
pom
- 1.3.2-SNAPSHOT
+ 1.3.2-SNAPSHOT.2
easyplugin-main