Skip to content

Commit

Permalink
* Added separate github action to publish PyPI package manually
Browse files Browse the repository at this point in the history
  • Loading branch information
pylakey committed Sep 4, 2021
1 parent 08b1089 commit 35373e8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Publish PyPI and docker

on:
workflow_dispatch:

release:
types: [ published ]

Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/pypi_only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish PyPI manually

on:
workflow_dispatch:

jobs:
publish_pypi:
runs-on: ubuntu-latest
name: Push python package to PyPI
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
ignore_dev_requirements: true
python_version: 3.9

0 comments on commit 35373e8

Please sign in to comment.