Skip to content

Commit

Permalink
Custom poetry publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibyx committed Aug 15, 2024
1 parent 62b4b3f commit 21c6bb1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install poetry
run: |
sudo apt install -y pipx
pipx ensurepath
pipx install poetry
pipx inject poetry poetry-plugin-export
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build and publish to Python package repository
run: |
poetry build
poetry publish
uses: JRubics/[email protected]
with:
repository_name: "django_api_forms"
repository_url: "https://github.com/Sibyx/django_api_forms"
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 21c6bb1

Please sign in to comment.