Skip to content

Bump package version to 1.0.3 #55

Bump package version to 1.0.3

Bump package version to 1.0.3 #55

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
Docs:
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.REPO_TOKEN }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
cd docs
pip install -r requirements.txt
- name: Build Docs
working-directory: docs
run: |
sphinx-apidoc -o apidocs ../TenshiTranslator ../TenshiTranslator/Backend.py --separate
make html
cp build\html ..\docs -r
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
publish_dir: './docs/html'