diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml new file mode 100644 index 0000000..44dbe7b --- /dev/null +++ b/.github/workflows/javadoc.yml @@ -0,0 +1,32 @@ +name: Deploy Javadoc + +on: [workflow_dispatch] + +jobs: + javadoc: + if: ${{ github.repository_owner == 'saicone' }} + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-java@v3 + with: + distribution: adopt + java-version: 8 + + - name: Build javadoc with Gradle + run: gradle allJavadoc + shell: bash + + - name: Deploy javadoc to Github repository + uses: JamesIves/github-pages-deploy-action@v4.4.1 + with: + folder: build/docs/all-javadoc + ssh-key: ${{ secrets.JAVADOC_DEPLOY_KEY }} + git-config-name: github-actions[bot] + git-config-email: 41898282+github-actions[bot]@users.noreply.github.com + repository-name: saicone/javadoc + branch: gh-pages + target-folder: delivery4j diff --git a/build.gradle b/build.gradle index 8aee405..9df97b6 100644 --- a/build.gradle +++ b/build.gradle @@ -53,8 +53,8 @@ tasks.register('allJavadoc', Javadoc) { options { links 'https://docs.oracle.com/en/java/javase/11/docs/api/' links 'https://rabbitmq.github.io/rabbitmq-java-client/api/current/' - links 'https://javadoc.io/doc/redis.clients/jedis/' - links 'https://javadoc.io/doc/com.zaxxer/HikariCP/' + links 'https://javadoc.io/doc/redis.clients/jedis/5.1.0/' + links 'https://javadoc.io/doc/com.zaxxer/HikariCP/latest/' } destinationDir = file(project.buildDir.path + '/docs/all-javadoc') } diff --git a/docs/es/README.md b/docs/es/README.md index 46f2768..633c9db 100644 --- a/docs/es/README.md +++ b/docs/es/README.md @@ -1,7 +1,7 @@ --- sidebar_position: 1 title: Delivery4j -description: Wrapper librerias de Java para tranferir datos utilizando distintos conceptos. +description: Wrapper de librerias de Java para transferir datos utilizando distintos conceptos. --- Existen múltiples maneras de transferir datos entre aplicaciones Java, esta librería ofrece una forma fácil de conectar con estas utilizando métodos en común: