diff --git a/.github/workflows/publish-smart-contracts-javadoc.yml b/.github/workflows/publish-smart-contracts-javadoc.yml new file mode 100644 index 00000000..a646bb98 --- /dev/null +++ b/.github/workflows/publish-smart-contracts-javadoc.yml @@ -0,0 +1,24 @@ +name: Deploy Smart Contracts Javadoc + +on: + push: + branches: + - master + - main + - develop + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Deploy JavaDoc 🚀 + uses: MathieuSoysal/Javadoc-publisher.yml@v2.4.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + javadoc-branch: javadoc + java-version: 17 + target-folder: javadoc + project: gradle + custom-command: | + cd smart-contracts + ./gradlew javadoc