Skip to content

Commit

Permalink
ci: push to pypitest
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Jul 29, 2024
1 parent 7ae8c55 commit 2b30df6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish Python Package to PyPI

on:
push:
release:
types: [published]
workflow_dispatch:
Expand Down Expand Up @@ -32,4 +33,8 @@ jobs:
run: python -m build

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
verbose: true
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [

[project.urls]
homepage = "https://js2264.github.io/momics"
documentation = "https://momics.readthedocs.io"
documentation = "https://js2264.github.io/momics"
repository = "https://github.com/js2264/momics"
changelog = "https://github.com/js2264/momics/blob/devel/CHANGES.md"

Expand Down Expand Up @@ -64,7 +64,8 @@ test = [
]
dev = [
"momics[all,test]",
"pre-commit"
"pre-commit",
"twine"
]
docs = [
"autodocsumm",
Expand Down

0 comments on commit 2b30df6

Please sign in to comment.