-
Notifications
You must be signed in to change notification settings - Fork 2.2k
How to deploy Gradio to Pypi using GitHub actions
Abubakar Abid edited this page Jun 16, 2022
·
2 revisions
We've set up a GitHub action to automate deploying to Pypi: https://github.com/gradio-app/gradio/blob/main/.github/workflows/deploy-pypi.yml
To trigger it, simply do the following:
- Create a new branch
- Update the version number in
gradio/version.txt
-- this will be the version number of the release and it can be something like3.1.0
(or something like3.1.0b1
for a pre-release) - Merge your branch into
main
OR any other branch that begins withrelease*
That's it! You can view the logs here: https://github.com/gradio-app/gradio/actions/workflows/deploy-pypi.yml