diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6026c32..bc1bb58 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,8 +30,8 @@ jobs: - name: Install twine run: pip install --upgrade twine - - name: Publish package to TestPyPI + - name: Publish to PYPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.CALENDAR_WIDGET_TOKEN }} - run: twine upload --repository dist/* --skip-existing \ No newline at end of file + run: twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --skip-existing \ No newline at end of file diff --git a/.pypirc b/.pypirc new file mode 100644 index 0000000..796fc77 --- /dev/null +++ b/.pypirc @@ -0,0 +1,7 @@ +[distutils] +index-servers = + pypi + +[pypi] +username = __token__ +password = CALENDAR_WIDGET_TOKEN