Перейти к содержанию

Publishing (maintainers)

PyPI (trusted publishing)

  1. Create project avar-me on PyPI (if it does not exist).
  2. PyPI → Publishing → add a trusted publisher:
  3. Owner: avar-me
  4. Repository: python
  5. Workflow: publish.yml
  6. Environment: pypi
  7. GitHub repo → Settings → Environments → create environment pypi (no secrets required for OIDC).
  8. Release: bump version, tag v0.0.1, push tag — workflow .github/workflows/publish.yml uploads the wheel.

GitHub Pages

  1. Repo → Settings → PagesBuild and deployment: Source = GitHub Actions.
  2. DNS at your registrar for python.avar.me:
  3. CNAMEavar-me.github.io (organization site)
    or follow GitHub custom domain docs for project pages.
  4. Repo → Settings → Pages → Custom domain: python.avar.me (after first deploy).
  5. docs/CNAME is included in the MkDocs site automatically.

Workflow: .github/workflows/docs.yml on push to main.