diff --git a/.github/workflows/python-pypi-test.yml b/.github/workflows/python-pypi-test.yml index f1c26d79..65df7566 100644 --- a/.github/workflows/python-pypi-test.yml +++ b/.github/workflows/python-pypi-test.yml @@ -1,10 +1,15 @@ -ame: Deploy to Test PyPi +name: Deploy to Test PyPi -on: +on: push: branches: - development - main + + pull_request: + branches: + - development + - main jobs: build_and_deploy: name: Build the release and deploy to test pypi @@ -12,7 +17,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@master - + - name: Set up Python 3.10 uses: actions/setup-python@v3 with: @@ -27,11 +32,11 @@ jobs: - name: test install package run: | pip install -e . - - name: Publish distribution 📦 to Test PyPI + - name: Publish distribution 📦 to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - skip_existing: true + skip-existing: true verbose: true - password: ${{ secrets.SHAFT_PYPI_TEST }} - repository_url: https://test.pypi.org/legacy/ \ No newline at end of file + password: ${{ secrets.RAMP_TEST}} + repository-url: https://test.pypi.org/legacy/ \ No newline at end of file