This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Friedowitz
committed
Feb 22, 2024
1 parent
27878d5
commit 4960d78
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [created,released] | ||
types: [released] | ||
|
||
jobs: | ||
publish: | ||
|
@@ -24,7 +25,7 @@ jobs: | |
|
||
- name: Publish to TestPyPI | ||
uses: pypa/[email protected] | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
if: github.event_name == 'workflow_dispatch' | ||
with: | ||
password: ${{ secrets.PYPI_TEST_KEY }} | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters