Merge pull request #178 from eclipse-aas4j/dependabot/maven/main/comm… #88
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
# This workflow will build and publish documentation with docfx | |
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path | |
name: Documentation Publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
name: Build and publish documentation | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build docfx | |
uses: nikeee/[email protected] | |
with: | |
args: docs/docfx.json | |
- name: Publish | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/_site | |
force_orphan: true |