Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

build: Updating the publish workflow

Karim shoaire05ff06b9215
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 }}