Skip to content

Merge branch 'release/0.10.4' #56

Merge branch 'release/0.10.4'

Merge branch 'release/0.10.4' #56

Workflow file for this run

name: Release python package
on:
push:
tags:
- "*"
jobs:
deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install deps
run: pnpm install
- name: Build
run: pnpm docs:build -d docs_dist
- name: Setup git
run: |
git config --global lfs.allowincompletepush true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: taskiq-python/taskiq-python.github.io
publish_dir: ./docs_dist
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install deps
run: poetry install
- name: Release package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --build