Skip to content

v0.2.15

v0.2.15 #22

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
PyPI:
runs-on: ubuntu-latest
steps:
- run: sudo apt install -y gettext
- uses: actions/[email protected]
- uses: actions/[email protected]
- uses: actions/checkout@v3
- name: Install Javascript dependencies
working-directory: ./django_ckeditor_5
run: npm install
- name: Build ck-editor
working-directory: ./django_ckeditor_5
run: npm run prod
- name: Install Python dependencies
run: python -m pip install --upgrade pip build wheel twine
- name: Build dist packages
run: python -m build --sdist --wheel
- name: Upload packages
run: python -m twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}