A set of GitHub actions for Spring documentation.
A GitHub action that syncs Antora reference documentation using rsync with support for syncing a single version. It deploys to the docs server using the GitHub repository in the path.
inputs:
docs-username:
description: The username to connect to the docs server
required: true
docs-host:
description: The host of the docs server
required: true
docs-ssh-key:
description: The ssh key used to connect to the docs-host
required: true
docs-ssh-host-key:
description: The docs ssh host key used to connect to docs-host
required: true
dry-run:
description: Set to false if should perform the sync, else a dry run is performed
default: false
required: falseExample usage:
github/workflows/deploy-docs.yml
- name: Publish Docs
uses: spring-io/spring-doc-actions/[email protected]
with:
docs-username: ${{ secrets.DOCS_USERNAME }}
docs-host: ${{ secrets.DOCS_HOST }}
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
dry-run: true