From 8b15d8d737d7f4df8ad7081a48a6b8735b152759 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Tahavori <50955527+mohammadamint@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:29:32 +0100 Subject: [PATCH] solving the test.pypi release issue #96 updating the secrets for API Token for the automatic test release of software after Pushes and PRs to developemnt and main --- .github/workflows/python-pypi-test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-pypi-test.yml b/.github/workflows/python-pypi-test.yml index f1c26d79..8533ed08 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: @@ -33,5 +38,5 @@ jobs: with: skip_existing: true verbose: true - password: ${{ secrets.SHAFT_PYPI_TEST }} + password: ${{ secrets.RAMP_TEST }} repository_url: https://test.pypi.org/legacy/ \ No newline at end of file