diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f3bda9b..93581ba 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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/* diff --git a/.gitea/workflows/rename_project.yml b/.gitea/workflows/rename_project.yml index a5d676a..ad97c94 100644 --- a/.gitea/workflows/rename_project.yml +++ b/.gitea/workflows/rename_project.yml @@ -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