Skip to content

Update python-publish.yml new auth #14

Update python-publish.yml new auth

Update python-publish.yml new auth #14

name: Deploy to PyPI
on:
pull_request:
types:
- closed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: pip install setuptools wheel
- name: Build and deploy package
run: |
python3 setup.py sdist bdist_wheel
pip install twine
twine upload -u '__token__' -p 'pypi-AgEIcHlwaS5vcmcCJDY4NzA4MTAwLTg4ZWEtNDdkMy1hNzQwLWU4OWYwMjY2OGM0MQACDlsxLFsibndtdXJsIl1dAAIsWzIsWyI0OTAxZGI0Yy1mMDUyLTRiMjgtYmM5Yi1kYTI0ZDM0NDE5ZjkiXV0AAAYgs6DAaFDv4P887S3-71CG0dfAgW6miDXToKFgWhgpm5Q' dist/*