Skip to content

Commit

Permalink
Add deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Galtozzy committed Dec 24, 2023
1 parent fdb39f1 commit 7a5ac85
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Build and Publish

on: workflow_dispatch

permissions:
id-token: write
jobs:
build-and-publish:
name: Build & Upload Package
Expand All @@ -19,5 +20,13 @@ jobs:
pip install --no-cache-dir "poetry==1.7.1"
- name: build
run: poetry build
- name: publish
run: poetry publish
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
print-hash: true
- name: Sign published artifacts
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true

0 comments on commit 7a5ac85

Please sign in to comment.