Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Python Package Deployment to PyPI via GitHub Actions #1386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Combatpanda420
Copy link

Status Type Env Vars Change
Ready Feature Yes

⚠️ NOTE: Ensure that the PyPI API token is stored correctly in GitHub secrets before merging this PR.

Problem

  • Manual process of uploading Python packages to PyPI is time-consuming and error-prone.
  • Lack of automation for package deployment upon release.

Solution

  • Introduced a GitHub Actions workflow to automate the package deployment process.
  • The workflow triggers on release publication, builds the package, and publishes it to PyPI using the API token.

Test results

Add your screenshots or recording about testing

Other changes

  • No other changes have been made.

Deploy Notes

There are no new dependencies, scripts, or environment variables introduced with this PR.

New environment variables:

  • PYPI_API_TOKEN : API token for authenticating with PyPI to publish packages. Ensure this is added to GitHub secrets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant