Skip to content

Commit

Permalink
Added test workflow for deployment on test_pypi using poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
llegregam committed May 22, 2023
1 parent 6b0ce42 commit 1e2e64b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_test_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and publish python package to test pypi

on: [push]
on:
release:
types: [ published ]

jobs:
publish-service-client-package:
Expand All @@ -9,7 +11,7 @@ jobs:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@v1
with:
PACKAGE_DIRECTORY: "."
PACKAGE_DIRECTORY: "./physiofit"
PYTHON_VERSION: "3.10"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 1e2e64b

Please sign in to comment.