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

Add publish to PYPI workflow #39

Merged
merged 1 commit into from
Aug 21, 2022
Merged

Add publish to PYPI workflow #39

merged 1 commit into from
Aug 21, 2022

Conversation

dpgraham4401
Copy link
Contributor

Hi Again!

So we talked about this very briefly in #38. If you're still open automating the release to PyPi this GitHub Action workflow should do the trick. It's almost the stock workflow from the GitHub marketplace so nothing special.

It run every time you publish a release on GitHub and only requires 1 environment variable/secret which is your PYPI API key saved as "PYPI_API_TOKEN" under the autotiling's repo settings. I'm happy to help if you're unfamiliar with any part of this process.

I tested it using https://test.pypi.org which can be found here https://test.pypi.org/project/autotiling/ (i'll delete when this pull request is closed).

Talk when you're back from vacation, cheers!

@nwg-piotr
Copy link
Owner

nwg-piotr commented Aug 21, 2022

I added a token as below:

Permissions: Upload packages
Scope: Project "autotiling"

and saved it in the autotiling repo secrets:

image

Hope this is what you meant.

@nwg-piotr nwg-piotr merged commit bd7c689 into nwg-piotr:master Aug 21, 2022
@nwg-piotr
Copy link
Owner

It seems to work. Thank you!

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.

None yet

2 participants