Skip to content

feat: push to pypi prod #16

feat: push to pypi prod

feat: push to pypi prod #16

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.10"
- name: Publish package distributions to PyPI
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: pdm publish --repository pypi --username __token__ --password $PYPI_API_TOKEN
- name: Install dependencies
run: |
pdm sync -G docs
- name: Deploy docs
run: |
pdm run mkdocs gh-deploy --force