Skip to content

Commit

Permalink
Add PYPI config yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaziamov committed Jan 21, 2024
1 parent 2d5ff6f commit efb335e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
- run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- run: poetry publish --build

0 comments on commit efb335e

Please sign in to comment.