diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9b292e9f33d107614941f3cc90e0fedb46758b71..dee167cc0835d70286df2fa3a26a4d56ea355d99 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -43,7 +43,7 @@ jobs:
         if: matrix.python-version == '3.6'
       - uses: pypa/gh-action-pypi-publish@master
         with:
-          password: test
+          password: ${{ secrets.TEST_PYPI_API_TOKEN }}
           repository_url: https://test.pypi.org/legacy/
       - uses: pypa/gh-action-pypi-publish@master
         if: startsWith(github.ref, 'refs/tags')