Skip to content

Commit

Permalink
added manuel publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchmie committed May 31, 2024
1 parent 89a7a73 commit ce4d4a4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/manuel_publish.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
plugins: "poetry-dynamic-versioning"
repository_name: "scraibe-webui"

0 comments on commit ce4d4a4

Please sign in to comment.