Skip to content

Commit 0eeadf7

Browse files
authored
Fix release publisher (#9)
1 parent dcac7d2 commit 0eeadf7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
run: pip install flit
1919
- name: Publish
2020
env:
21-
FLIT_USERNAME: __token__
22-
FLIT_PASSWORD: ${{ secrets.PYPY_API_TOKEN }}
21+
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
22+
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
2323
run: flit publish

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["flit_core >=3.2,<4"]
33
build-backend = "flit_core.buildapi"
44

55
[project]
6-
name = "ninja_apikey"
6+
name = "django-ninja-apikey"
77
authors = [{name = "Maximilian Wassink", email="[email protected]"}]
88
readme = "README.md"
99
requires-python = "~=3.6.2"
@@ -55,3 +55,6 @@ test = [
5555
"mypy",
5656
"django-stubs",
5757
]
58+
59+
[tool.flit.module]
60+
name = "ninja_apikey"

0 commit comments

Comments
 (0)