diff --git a/.github/workflows/deploy-pypi.yaml b/.github/workflows/deploy-pypi.yaml deleted file mode 100644 index 0d28836..0000000 --- a/.github/workflows/deploy-pypi.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Deploy to PyPI - -on: - release: - types: [published] - - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Set up Rye - uses: eifinger/setup-rye@v2 - with: - enable-cache: true - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Sync with Rye - run: rye sync - - - name: Build distribution packages - run: rye build --clean - - # - name: Publish to PyPI - # run: rye publish --yes --verbose --token ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/deploy-testpypi.yaml b/.github/workflows/deploy-testpypi.yaml deleted file mode 100644 index 6449ee8..0000000 --- a/.github/workflows/deploy-testpypi.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: Deploy to TestPyPI - -on: - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Set up Rye - uses: eifinger/setup-rye@v2 - with: - enable-cache: true - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Sync with Rye - run: rye sync - - - name: Build distribution packages - run: rye build --clean - - - name: Publish to TestPyPI - run: rye publish --yes --verbose --repository testpypi --repository-url https://test.pypi.org/legacy/ --token ${{ secrets.TEST_PYPI_TOKEN }}