diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 25856b1..2d89359 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -12,7 +12,7 @@ jobs: - run: poetry version ${GITHUB_REF:10} - run: poetry build - run: pip install twine==4.0.1 - - run: twine upload dist/* -u alex-treebeard -p ${{ secrets.PYPI_PASSWORD }} + - run: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} - uses: EndBug/add-and-commit@v7.0.0 with: author_name: github-actions diff --git a/.github/workflows/test-publish-to-pypi.yml b/.github/workflows/test-publish-to-pypi.yml index 2e13ed7..042f23a 100644 --- a/.github/workflows/test-publish-to-pypi.yml +++ b/.github/workflows/test-publish-to-pypi.yml @@ -18,4 +18,4 @@ jobs: - run: pip install dist/*whl --force-reinstall - run: pytest --nbmake tests/resources/mock.ipynb - run: pip install twine==4.0.1 - - run: twine upload -r testpypi dist/* -u alex-treebeard-test -p ${{ secrets.TEST_PYPI_PASSWORD }} \ No newline at end of file + - run: twine upload -r testpypi dist/* -u __token__ -p ${{ secrets.TEST_PYPI_API_TOKEN }} \ No newline at end of file