From b549ab329661d7c5d576058e2903ceb0c2027dd1 Mon Sep 17 00:00:00 2001 From: Alex Remedios Date: Fri, 19 Aug 2022 11:08:32 +0100 Subject: [PATCH] token (#79) --- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/test-publish-to-pypi.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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