Skip to content

Commit

Permalink
Fix release publisher (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mawassk committed Aug 16, 2021
1 parent dcac7d2 commit 0eeadf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
run: pip install flit
- name: Publish
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPY_API_TOKEN }}
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
run: flit publish
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "ninja_apikey"
name = "django-ninja-apikey"
authors = [{name = "Maximilian Wassink", email="wassink.maximilian@protonmail.com"}]
readme = "README.md"
requires-python = "~=3.6.2"
Expand Down Expand Up @@ -55,3 +55,6 @@ test = [
"mypy",
"django-stubs",
]

[tool.flit.module]
name = "ninja_apikey"

0 comments on commit 0eeadf7

Please sign in to comment.