Files
scribe/.github/manuel_publish.yml
T
2024-05-31 14:39:35 +00:00

30 lines
721 B
YAML

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"