Skip to content

fix: secret name

fix: secret name #13

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:
TEST_PYPI_API_TOKEN: ${{ secrets.PYPI_TEST_API_TOKEN }}
run: pdm publish --repository testpypi --username __token__ --password $TEST_PYPI_API_TOKEN
- name: Install dependencies
run: |
pdm sync -G docs
- name: Deploy docs
run: |
pdm run mkdocs gh-deploy --force