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
Autodeploy to PyPI #422
Comments
Great! |
✅ Invited |
I realize this is kind of an old issue, but as a note, you can't grant access to settings to other people on a user-owned repository. From the Github help:
This has bitten me on a repo I inherited. What I did as a workaround is do the PyPI uploads from a personal fork. |
Aha, good to know, thanks! Creating a dedicated organisation for the repo was suggested in #356, shall go ahead with that? If so, the next challenge is naming things! Already taken:
Not taken:
|
Hey @hugovk! Apologies for my late answer! |
Both fine by me, although https://github.com/twitter-python/twitter |
All right, since it's for the organization name anyway, I guess keeping the original library name makes the most sense. |
@RouxRC I've created the https://github.com/python-twitter-tools org and invited you and Mike. |
Thanks! |
I transferred ownership of the repo to the organization. Please let me know if there is more I should do to enable your work. |
Thank you! I've made you both owners of the org as well, and added the PyPI API tokens to https://github.com/python-twitter-tools/twitter/settings/secrets/actions I'll get the rest of the autodeploy set up later. |
Hey Hugo, seems like some authentication to PyPi is still missing: https://github.com/python-twitter-tools/twitter/runs/2711860451?check_suite_focus=true |
Found it, the token was missing, I recreated it and set it in the repo settings and it works now! |
Great, thank you for releasing! |
As suggested in #356, I'll set up automated deploys:
I've set up a test
twitter
project on TestPyPI.@RouxRC If you create an account on https://test.pypi.org, I'll give you access too.
Then, to use https://github.com/pypa/gh-action-pypi-publish, we then need to create API tokens for TestPyPI and PyPI and store them as secrets under https://github.com/sixohsix/twitter/settings.
TODO:
twitter-ci
at https://test.pypi.org/manage/account/token/TEST_PYPI_PASSWORD
at https://github.com/sixohsix/twitter/settings/secrets/actions/newPYPI_PASSWORD
More info on PyPI API tokens: https://pypi.org/help/#apitoken
I don't have access to https://github.com/sixohsix/twitter/settings. @RouxRC Please could you either give me access to that, or please could you follow the instructions above to add the tokens?
The text was updated successfully, but these errors were encountered: