Skip to content

Commit

Permalink
config publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
OSintt committed Jul 14, 2024
1 parent 6753e99 commit d7996e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
pypi-publish:
name: Publish release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/<PYPI_PACKAGE_NAME>
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -22,9 +27,7 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@v1
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}



3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from setuptools import setup, find_packages

# Lee el contenido de tu README.md
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name="xvideos-py",
version="0.1.0",
description="A powerful scraper for xvideos.com",
description="A powerful Python library to scrape xvideos.com",
author="OSintt",
author_email="akumagamer123@gmail.com",
url="https://github.com/OSintt/xvideos.py",
Expand Down

0 comments on commit d7996e4

Please sign in to comment.