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