This commit is contained in:
Simon
2024-11-13 16:06:57 +01:00
parent 694680ffdf
commit c50b1b588b
2 changed files with 2 additions and 2 deletions

View File

@@ -50,5 +50,5 @@ jobs:
run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}')
python setup.py sdist bdist_wheel
twine upload --repository-url -u gitearobot -p ${{ secrets.PACKAGE_GITEA_PAT }} https://git.disi.dev/api/packages/$REPOSITORY_OWNER/pypi dist/*
twine upload --repository-url https://git.disi.dev/api/packages/$REPOSITORY_OWNER/pypi -u gitearobot -p ${{ secrets.PACKAGE_GITEA_PAT }} dist/*

View File

@@ -6,7 +6,7 @@ permissions: write-all
jobs:
rename-project:
if: ${{ !endsWith (github.repository, 'Templates/Python') }}
if: ${{ !endsWith (gitea.repository, 'Templates/Python') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3