Skip to content

Merge branch 'release/0.9.2' #49

Merge branch 'release/0.9.2'

Merge branch 'release/0.9.2' #49

Workflow file for this run

name: Release python package
on:
push:
tags:
- "*"
jobs:
deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Build docs
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.9"
- name: Install deps
run: poetry install
- name: Release package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --build