Skip to content

Merge pull request #222 from koxudaxi/dependabot/github_actions/actio… #165

Merge pull request #222 from koxudaxi/dependabot/github_actions/actio…

Merge pull request #222 from koxudaxi/dependabot/github_actions/actio… #165

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
python-version: '3.11'
architecture: 'x64'
- uses: actions/cache@v3.3.1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- run: |
cp CHANGELOG.md docs
mkdocs build --verbose --clean --strict
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site