build(poetry): upgrade deps #82
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: master branch updated | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
bump-version: | |
if: "!startsWith(github.event.head_commit.message, 'bump:')" | |
runs-on: ubuntu-latest | |
name: "Bump version and create changelog with commitizen" | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Create bump and changelog | |
uses: commitizen-tools/commitizen-action@master | |
with: | |
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
branch: master | |
publish-github-page: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
fetch-depth: 0 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry invoke | |
inv env.init-dev --no-pre-commit | |
- name: Build docs | |
run: | | |
inv doc.build | |
- name: Push documentation to Github Page | |
uses: peaceiris/[email protected] | |
with: | |
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./site |