diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4ea8b38..0b422dc 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,6 +17,17 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: 11
+          
+      - name: Build docs with Maven
+      - run: mvn javadoc:javadoc
+      
+      - name: publish javadoc
+        uses: JamesIves/github-pages-deploy-action@4.1.1
+        with:
+          branch: gh-pages # The branch the action should deploy to.
+          folder: docs # The folder the action should deploy.
+
+        
       - name: Cache SonarCloud packages
         uses: actions/cache@v1
         with: