Skip to content

Commit

Permalink
Deploy artifacts to github
Browse files Browse the repository at this point in the history
  • Loading branch information
nir0s committed Dec 19, 2023
1 parent bc51d7d commit 18f905b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: "Deploy to PyPI"
on:
workflow_dispatch:
inputs:
tag:
description: "Git tag to deploy to PyPI"
required: true
- push
# workflow_dispatch:
# inputs:
# tag:
# description: "Git tag to deploy to PyPI"
# required: true

jobs:
deploy:
Expand All @@ -25,3 +26,7 @@ jobs:
python -m build
python -m twine check dist/*
python -m twine upload --username=__token__ --password=${{ secrets.PYPI_TOKEN }} dist/*
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.inputs.tag }}-test
path: dist/*

0 comments on commit 18f905b

Please sign in to comment.