diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml
new file mode 100644
index 0000000..750fa24
--- /dev/null
+++ b/.github/workflows/site.yml
@@ -0,0 +1,29 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
+
+# This workflow uses actions that are not certified by GitHub.
+# They are provided by a third-party and are governed by
+# separate terms of service, privacy policy, and support
+# documentation.
+
+name: Generate Site
+
+on:
+ push:
+ branches: [ "main" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK 21
+ uses: actions/setup-java@v3
+ with:
+ java-version: '21'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn site site:stage -DskipTests -Dlicense.skip=true -B -V --no-transfer-progress --settings ./.mvn/settings.xml
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d657990..26fbe65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,13 @@
+
+
+ github
+ scm:git:git@github.com:ngocnhan-tran1996/spring-jdbc-oracle.git
+
+
+
@@ -99,11 +106,6 @@
-
-
- org.apache.maven.plugins
- maven-site-plugin
-
\ No newline at end of file