Publish Plugin to PyPI #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Plugin to PyPI | |
on: | |
workflow_dispatch: | |
jobs: | |
pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Build and Publish | |
run: | | |
cd web | |
npm install | |
npm run build | |
poetry build | |
poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} |