From efb335e4584674da92c9966fdcb495f9ff514fe3 Mon Sep 17 00:00:00 2001 From: Ilia Kaziamov Date: Sun, 21 Jan 2024 14:44:55 +0300 Subject: [PATCH] Add PYPI config yml --- .github/workflows/pypi-publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..76dd9a2 --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -0,0 +1,16 @@ +name: Publish Release to PYPI + +on: + push: + branches: + - main + +jobs: + deployment: + runs-on: ubuntu-latest + environment: release + steps: + - name: Build and Publish + uses: actions/checkout@v2 + - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} + - run: poetry publish --build \ No newline at end of file