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

Easiest way to publish your xontrib to PyPi via Github Actions #10

Open
anki-code opened this issue Dec 25, 2020 · 0 comments
Open

Easiest way to publish your xontrib to PyPi via Github Actions #10

anki-code opened this issue Dec 25, 2020 · 0 comments

Comments

@anki-code
Copy link

anki-code commented Dec 25, 2020

Hi!

Just want to let you know that there is easiest way to publish your xontrib to PyPi via Github Actions. Users can install your xontrib via pip install <package>. Easiest way to achieve it is to use Github Actions:

  1. Register to https://pypi.org/ and create API token.
  2. Go to repository "Settings" - "Secrets" and add keys PYPI_USERNAME and PYPI_PASSWORD.
  3. Click "Actions" link on your Github repository.
  4. Click "Set up this workflow" on "Publish Python Package" Action.
  5. Commit the config without any changes.
  6. Now when you create new Release the Github Actions will publish the xontrib to PyPi automatically. Release status will be in Actions sction.

Thanks!

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

No branches or pull requests

1 participant