name: CD on: release: types: [ created ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Build and Publish to PyPi uses: JRubics/poetry-publish@v1.10 with: pypi_token: ${{ secrets.PYPI_TOKEN }}