gh actions drop --dev from poetry install calls #53
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: 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 | |
- 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 |