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