From 856b71e3fcb4aa8419264033262ee28e1b2a4177 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 16 May 2025 19:09:25 +0200 Subject: [PATCH] portalble cut arg --- .forgejo/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index f8e34cc..d465c87 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: shell: sh run: | git config --global credential.helper store - echo "https://github:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut --bytes=9-)" > ~/.git-credentials + echo "https://github:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut -b 9-)" > ~/.git-credentials git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }} - name: Authenticate with registry