Skip to content

fix(deps): update dependency orjson to v3.10.9 #26

fix(deps): update dependency orjson to v3.10.9

fix(deps): update dependency orjson to v3.10.9 #26

Workflow file for this run

name: Python Package and Documentation Release
on:
push:
branches:
- main
permissions:
contents: write
pages: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
- name: Install dependencies
run: poetry install
- name: Python Semantic Release
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish-docs:
needs: release
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pages
uses: actions/configure-pages@v5
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
- name: Install dependencies
run: poetry install --with docs
- name: Build docs
run: poetry run pdoc --html --output-dir docs TikTok
- name: Upload pages artifacts
uses: actions/upload-pages-artifact@v3
with:
path: './docs/TikTok'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4