Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,6 @@ jobs:
files: dist/*
- name: Publish to PyPI (OIDC)
if: startsWith(github.ref, 'refs/tags/')
run: echo "PyPI trusted publishing wired in #58 — placeholder job"
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
7 changes: 7 additions & 0 deletions docs/DISTRIBUTION_SETUP.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,3 +8,10 @@ Secrets and publishers (see also #58–#63):
| Docker Hub | `DOCKERHUB_USERNAME`, `DOCKERHUB_TOKEN` |
| AUR | `AUR_SSH_PRIVATE_KEY`, `AUR_REPO_TOKEN` |
| Homebrew | `HOMEBREW_TAP_TOKEN` |

## PyPI Trusted Publishing

1. Create a Trusted Publisher on PyPI for `create-awesome-python-app`
2. Repository: `Create-Python-App/create-python-app`
3. Workflow: `publish.yml`
4. No `PYPI_TOKEN` secret required when using OIDC
Loading