Skip to content

Commit

Permalink
added .pypirc
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartanlasergun committed Jun 6, 2024
1 parent 6de7934 commit 191d559
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --skip-existing
7 changes: 7 additions & 0 deletions .pypirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[distutils]
index-servers =
pypi

[pypi]
username = __token__
password = CALENDAR_WIDGET_TOKEN

0 comments on commit 191d559

Please sign in to comment.