Skip to content

ci: add PyPI publish workflow via Trusted Publisher - #39

Merged
abruption merged 1 commit into
mainfrom
feat/pypi-publish-workflow
Sep 8, 2026
Merged

abruption merged 1 commit into
mainfrom
feat/pypi-publish-workflow

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

GitHub Release 생성 시 자동으로 PyPI에 배포하는 워크플로를 추가합니다.

How it works

  1. Release published 이벤트 발생
  2. build job: sdist + wheel 빌드
  3. publish job: OIDC Trusted Publisher로 PyPI 업로드 (토큰 불필요)

Prerequisites

  • GitHub repo에 pypi environment 생성 완료
  • PyPI에 pending publisher 등록 필요 (owner: abruption, repo: cc-peer, workflow: publish.yml, env: pypi)

Automatically build and publish to PyPI when a GitHub release is
created. Uses OIDC Trusted Publisher — no API tokens needed.
@abruption
abruption merged commit 1635614 into main Sep 8, 2026
7 checks passed
@abruption
abruption deleted the feat/pypi-publish-workflow branch September 8, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant