From e05ff06b92159cd78362b670e55e1b249d05b582 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sat, 15 Mar 2025 02:32:09 +0200 Subject: [PATCH] build: Updating the publish workflow --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5726857..9755b79 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,11 @@ jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest + environment: + name: release + url: https://pypi.org/p/scrapling + permissions: + id-token: write steps: - uses: actions/checkout@v4 - name: Set up Python @@ -26,6 +31,3 @@ jobs: - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }}