diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 89fdd674..b5af3e11 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -61,11 +61,6 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref_type == 'tag' steps: - - uses: actions/download-artifact@v3 - with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 - with: - user: __token__ - password: ${{ secrets.TWINE_API_KEY }} + - uses: neuroinformatics-unit/actions/upload_pypi@v2 + with: + secret-pypi-key: ${{ secrets.TWINE_API_KEY }}