diff --git a/.gitea/workflows/run.yaml b/.gitea/workflows/run.yaml index bbbbd3f..5f67baf 100644 --- a/.gitea/workflows/run.yaml +++ b/.gitea/workflows/run.yaml @@ -27,4 +27,12 @@ jobs: git config --global user.name 'Gitea Actions' git config --global user.email 'gitea@gitea.moerks.dk' pipenv run bumpver update --minor + - name: Build Package + run: pipenv run python -m build + - name: Publish Package + run: | + export TWINE_USERNAME=${{ secrets.TWINE_USER }} + export TWINE_PASSWORD=${{ secrets.TWINE_PASS }} + export TWINE_REPOSITORY_URL=${{ secrets.TWINE_REPO }} + pipenv run twine upload dist/*