VR4RoboticArm2/VR4RoboticArm/Library/PackageCache/com.meta.xr.sdk.movement/.github/workflows/documentation.yml
IonutMocanu 48cccc22ad Main2
2025-09-08 11:13:29 +03:00

36 lines
770 B
YAML

name: Build and deploy documentation
on:
push:
branches:
- main
paths:
- Editor/**
- Runtime/**
- Samples/**
- '*.md'
- 'package*'
- 'LICENSE*'
workflow_dispatch:
workflow_call:
jobs:
generate-docs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install DocFX
run: choco install -y docfx
- name: Use README.md as index.md
run: cp README.md .Documentation/index.md
- name: Build
run: docfx .Documentation/docfx.json
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
force_orphan: true