Skip to content

Commit c623e4e

Browse files
authored
Merge pull request #18 from LuisAPI/bug-pypi2
Allow manual dispatch of package publish workflow
2 parents f1f5072 + a685ad3 commit c623e4e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ name: Upload Python Package
1111
on:
1212
release:
1313
types: [published]
14+
workflow_dispatch:
1415

1516
permissions:
1617
contents: read
@@ -49,14 +50,14 @@ jobs:
4950

5051
# Dedicated environments with protections for publishing are strongly recommended.
5152
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
52-
environment:
53-
name: pypi
53+
# environment:
54+
# name: pypi
5455
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
5556
# url: https://pypi.org/p/YOURPROJECT
5657
#
5758
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
5859
# ALTERNATIVE: exactly, uncomment the following line instead:
59-
url: https://pypi.org/project/YouTubeWikiBot/${{ github.event.release.name }}
60+
# url: https://pypi.org/project/YouTubeWikiBot/${{ github.event.release.name }}
6061

6162
steps:
6263
- name: Retrieve release distributions

0 commit comments

Comments
 (0)