From 8b011e786a763210bfbbb56dfafe6d430a76250a Mon Sep 17 00:00:00 2001 From: Jan Range Date: Thu, 11 Apr 2024 21:06:07 +0200 Subject: [PATCH] add publish workflow --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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..7e583da --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +name: Build and publish + +on: + release: + types: [released] + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: "Build and publish to PyPi" + uses: JRubics/poetry-publish@v1.17 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }}