Skip to content

Commit 453e1e6

Browse files
authored
swapped to using a pypi token instead
1 parent febff8a commit 453e1e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: deploy-to-pypi
22

33
on:
44
release:
5-
types: [released]
5+
66
jobs:
77
release:
88

@@ -21,8 +21,8 @@ jobs:
2121
- name: Package and Upload
2222
env:
2323
ADK_VERSION: ${{github.event.release.tag_name }}
24-
TWINE_USERNAME: ${{secrets.PYPI_USERNAME }}
25-
TWINE_PASSWORD: ${{secrets.PYPI_PASSWORD }}
24+
TWINE_USERNAME: __token__
25+
TWINE_PASSWORD: ${{secrets.TWINE_TOKEN }}
2626
- run: |
2727
python3 setup.py sdist bdist_wheel --universal
2828
twine upload -r pypi dist/*

0 commit comments

Comments
 (0)