diff --git a/publish.yml b/publish.yml deleted file mode 100644 index 45a737e..0000000 --- a/publish.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Publish to PyPI - -on: - push: - branches: - - main - -jobs: - publish: - name: Publish to PyPI - runs-on: ubuntu-latest - - steps: - # Checkout the repository - - name: Check out code - uses: actions/checkout@v3 - - # Set up Python - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - # Install dependencies - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - # Build the package - - name: Build the package - run: | - python setup.py sdist bdist_wheel - - # Publish to PyPI - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1 - with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }}