using poetry repo to add sargit
This commit is contained in:
parent
8d32c1d08d
commit
3983b2cccc
@ -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]
|
|
||||||
index-servers = sargit
|
|
||||||
|
|
||||||
[sargit]
|
- name: Poetry Repo Creds
|
||||||
repository = https://git.sarsoo.xyz/api/packages/${{ secrets.PYPI_USERNAME }}/pypi
|
run: poetry config http-basic.sargit ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_KEY }}
|
||||||
username = ${{ secrets.PYPI_USERNAME }}
|
|
||||||
password = ${{ secrets.PYPI_KEY }}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Poetry Build
|
- name: Poetry Build
|
||||||
run: poetry build
|
run: poetry build
|
||||||
|
Loading…
Reference in New Issue
Block a user