diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 1a4745f..3a89bf4 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -16,8 +16,8 @@ jobs: steps: - name: Checkout Code run: | - git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git" . - git checkout ${{ github.sha }} + git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url | cut -c 9- }}/${{ github.repository }}.git" . + git checkout ${{ github.sha }} - name: Version aus Gradle auslesen id: get_version