From e0d3c1b81b9c139e13ee47c69f41dc623d62fa0b Mon Sep 17 00:00:00 2001 From: Patoliya Date: Wed, 15 Jul 2026 15:12:04 +0530 Subject: [PATCH] added yml file --- .github/workflows/publish.yml | 19 +++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..1693a33 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish to PyPI + +on: + release: + types: [published] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - run: pip install build + - run: python -m build + - uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index e477388..6b4345e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ test = [ [project.urls] Homepage = "https://serphouse.com" -Source = "https://github.com/serphouse/ai-sdk" +Source = "https://github.com/SERPHouse/ai-sdk-python" Documentation = "https://serphouse.com/docs" [tool.setuptools.packages.find]