From 55dffb9d80684c21d98d6eb8d82c060616a44bf6 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Leon Date: Thu, 7 Dec 2023 16:39:22 +0100 Subject: [PATCH] use token instead password remove conda deployment --- .github/workflows/conda-publish.yml | 17 ----------------- .github/workflows/pypi-publish.yml | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/conda-publish.yml diff --git a/.github/workflows/conda-publish.yml b/.github/workflows/conda-publish.yml deleted file mode 100644 index e8eb8e0..0000000 --- a/.github/workflows/conda-publish.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: publish_conda - -on: - release: - types: [published] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: publish-to-conda - uses: fcakyon/conda-publish-action@v1.3 - with: - subdir: 'conda' - anacondatoken: ${{ secrets.ANACONDA_TOKEN }} - platforms: 'osx linux' \ No newline at end of file diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index a59847d..f1e4b65 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -26,8 +26,8 @@ jobs: python -m pip install . - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python -m build --wheel --sdist twine upload dist/* \ No newline at end of file