Skip to content

Commit

Permalink
add pypi publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
kaziamov committed Mar 13, 2024
1 parent 795a298 commit 486780d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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
- uses: actions/setup-python@v2
- run: pip install poetry
- run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- run: poetry publish --build

0 comments on commit 486780d

Please sign in to comment.