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