Skip to content

gh actions docs change py version #52

gh actions docs change py version

gh actions docs change py version #52

Workflow file for this run

name: docs
on:
push:
branches:
- master
env:
DOIT_NUM_PROCESS: 0
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: install python
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: install requirements.pip.dev.txt
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --dev
- name: doit docs
run: doit docs
- name: remove gitignore
run: rm .gitignore
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: rtd
force_orphan: true