diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 66f1d3c..bde5bfd 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -40,8 +40,15 @@ jobs: ls echo "Publish list:" ls dist - - name: Publish + - name: Publish Gitea + env: + TWINE_REPOSITORY_URL: "https://gitea.example.com/api/packages/${{ secrets.PKG_GITEA_USERNAME }}/pypi" + TWINE_USERNAME: ${{ secrets.PKG_GITEA_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PKG_GITEA_KEY }} + run: | + twine upload dist/* --verbose --disable-progress-ba + - name: Publish Pypi env: TWINE_PASSWORD: ${{ secrets.PYPI_KEY }} run: | - twine upload dist/* --verbose --disable-progress-bar + twine upload dist/* --verbose --disable-progress-barr