ユーザー辞書のインポート、エクスポートをUIに追加 (#676) #221
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: upload-docs | |
on: | |
push: | |
branches: | |
- "master" | |
env: | |
PYTHON_VERSION: "3.11.3" | |
PUBLISH_DIR: "./docs/api" | |
PUBLISH_BRANCH: "gh-pages" | |
DESTINATION_DIR: "api" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
upload-doc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: pip | |
- name: Install Python dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Make documents | |
run: | | |
python make_docs.py | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ${{ env.PUBLISH_DIR }} | |
publish_branch: ${{ env.PUBLISH_BRANCH }} | |
destination_dir: ${{ env.DESTINATION_DIR }} |