feat: add range_add_point_get #128
This file contains hidden or 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: Deploy MkDocs | |
| on: | |
| push: | |
| branches: [main] # main ブランチへの push で自動実行 | |
| workflow_dispatch: # 手動実行も可 | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # リポジトリへの push を許可 | |
| steps: | |
| # リポジトリ取得 | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| # uv + Python をセットアップ | |
| - uses: astral-sh/setup-uv@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: uv sync | |
| # ドキュメントをビルド | |
| - name: Build site | |
| run: uv run mkdocs build --clean | |
| # gh-pages ブランチへデプロイ | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} # リポジトリ自動付与の token | |
| publish_dir: ./site # デフォルトの出力先ディレクトリ | |
| publish_branch: gh-pages |