Merge pull request #372 from rapyuta-robotics/devel #83
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: 📝 Github Pages for Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install Dependencies | |
run: uv sync --dev | |
- name: Build Documentation | |
run: | | |
uv run python -m sphinx -M html docs/source docs/output | |
cp scripts/install.sh docs/output/html/install.sh | |
- name: Deploy gh-pages | |
if: github.repository == 'rapyuta-robotics/rapyuta-io-cli' && github.event_name == 'push' | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/output/html | |
cname: cli.rapyuta.io | |
force_orphan: true |