From e1625c40552cb49bf7cb30fef1270bab3b027622 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 24 Jul 2024 21:17:46 +0200 Subject: [PATCH] Update publish-to-test-pypi.yml --- .github/workflows/publish-to-test-pypi.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 4d77248..d7dbce7 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -9,6 +9,11 @@ jobs: build-n-publish: name: TestPyPI - Build and publish Python 🐍 distributions 📦 runs-on: ubuntu-latest + environment: + name: test + url: https://test.pypi.org/p/djangocms-bootstrap4 + permissions: + id-token: write steps: - uses: actions/checkout@master - name: Set up Python 3.9 @@ -34,7 +39,5 @@ jobs: - name: Publish distribution 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ skip_existing: true