docs: fix source url for antora playbook #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs-antora: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build site with Antora | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: antora/antora:2.3.1 | |
options: -v ${{ github.workspace }}:/antora:Z | |
run: antora antora-playbook.yml --cache-dir=/tmp/.antora-cache | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/site |