Skip to content

new twint upload with token #11

new twint upload with token

new twint upload with token #11

Workflow file for this run

name: Release on PYPI
on:
push:
branches: [main]
jobs:
build-and-publish:
runs-on: ubuntu-latest
if: github.repository == 'bnzk/django-ckeditor-link'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel twine
- name: Build
run: |
python setup.py sdist
python setup.py bdist_wheel --universal
- name: Publish
env:
PYPI_UPLOAD_TOKEN: ${{ secrets.PYPI_UPLOAD_TOKEN }}
run: twine upload --user __token__ --password $PYPI_UPLOAD_TOKEN dist/*