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

[python-pytrakt] Add GitHub Actions workflow to publish to pypi #179

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

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Jan 13, 2022

This will create pip package and upload to pypi when git tag is pushed to GitHub.

Inspired from:

Docs:

Needs to setup token PYPI_TOKEN as Secrets:

Refs:

@glensc
Copy link
Contributor Author

glensc commented Jan 13, 2022

@moogar0880 are there any modifications you do before publishing to PyPI?

I noticed the BASE_URL differs with Git:

-BASE_URL = 'https://api-v2launch.trakt.tv/'
+BASE_URL = 'https://api.trakt.tv/'

@glensc
Copy link
Contributor Author

glensc commented Jan 13, 2022

@moogar0880 otherwise set up PYPI_TOKEN secret and this is ready to go!

@glensc glensc marked this pull request as ready for review January 13, 2022 09:05
glensc added a commit to glensc/python-pytrakt that referenced this pull request Oct 23, 2022
@glensc
Copy link
Contributor Author

glensc commented Oct 23, 2022

Carried to my fork:

@glensc glensc changed the title Add GitHub Actions workflow to publish to pypi [python-pytrakt] Add GitHub Actions workflow to publish to pypi Nov 2, 2022
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