From e1b855e640e71ba963d7f8dbe24f8b808a496cd8 Mon Sep 17 00:00:00 2001 From: Matti Schneider Date: Fri, 21 Jun 2024 14:23:22 +0200 Subject: [PATCH] [TOREMOVE] Test CI --- .github/workflows/deploy.yml | 6 +++--- .github/workflows/validate.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 723ea8f..793f22a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy on: push: - branches: [ main ] + branches: [ test-ci ] jobs: validate: @@ -16,7 +16,7 @@ jobs: - name: Check PyPI token is defined id: check_token run: | - if [[ -n "${{ secrets.PYPI_TOKEN }}" ]] + if [[ -n "${{ secrets.TEST_PYPI_TOKEN }}" ]] then echo "pypi_token_present=true" >> $GITHUB_OUTPUT else @@ -63,7 +63,7 @@ jobs: git push --tags - name: Upload Python package to PyPi - run: twine upload dist/* --username __token__ --password ${{ secrets.PYPI_TOKEN }} + run: twine upload --repository testpypi dist/* --username __token__ --password ${{ secrets.TEST_PYPI_TOKEN }} - name: Create GitHub release uses: softprops/action-gh-release@v1 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a1d0a05..24ea0e3 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,6 +1,8 @@ name: Validate on: + push: + branches: [ test-ci ] pull_request: types: [ assigned, opened, reopened, synchronize, ready_for_review ] workflow_call: