using poetry repo to add sargit
All checks were successful
Tests / build (ubuntu-latest) (push) Successful in 17s
Tests / Package Library (push) Successful in 13s

This commit is contained in:
Andy Pack 2024-07-28 14:16:17 +01:00
parent 8d32c1d08d
commit 3983b2cccc
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -54,17 +54,11 @@ jobs:
with:
poetry-version: ${{ env.poetry-version }}
- name: Add SarGit Repo
run: |
cat <<EOF > ~/.pypirc
[distutils]
index-servers = sargit
- name: Poetry Add Repo
run: poetry source add --priority=supplemental sargit https://git.sarsoo.xyz/api/packages/${{ secrets.PYPI_USERNAME }}/pypi
[sargit]
repository = https://git.sarsoo.xyz/api/packages/${{ secrets.PYPI_USERNAME }}/pypi
username = ${{ secrets.PYPI_USERNAME }}
password = ${{ secrets.PYPI_KEY }}
EOF
- name: Poetry Repo Creds
run: poetry config http-basic.sargit ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_KEY }}
- name: Poetry Build
run: poetry build