From c50b1b588b2c9c1a5def81bc22a091ed33691517 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 13 Nov 2024 16:06:57 +0100 Subject: [PATCH] bugfixes --- .gitea/workflows/release.yml | 2 +- .gitea/workflows/rename_project.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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