From ce4d4a4357eb923be4facee843dd2495c79dfada Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Fri, 31 May 2024 14:39:35 +0000 Subject: [PATCH] added manuel publisher --- .github/manuel_publish.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/manuel_publish.yml diff --git a/.github/manuel_publish.yml b/.github/manuel_publish.yml new file mode 100644 index 0000000..fd0b011 --- /dev/null +++ b/.github/manuel_publish.yml @@ -0,0 +1,29 @@ +name: Manual Publish to PyPI + +on: + workflow_dispatch: + inputs: + branch: + description: 'Branch to check out (main or develop)' + required: true + type: choice + options: + - main + - develop + +jobs: + publish-to-pypi: + name: Publish to PyPI + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: '0' + ref: ${{ github.event.inputs.branch }} + - name: Set up Poetry 📦 + uses: JRubics/poetry-publish@v1.16 + with: + pypi_token: ${{ secrets.PYPI_API_TOKEN }} + plugins: "poetry-dynamic-versioning" + repository_name: "scraibe-webui"