diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a035d8b..dc17029 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -19,6 +19,7 @@ jobs: - name: Checkout run: | + git config --global credential.helper '!f() { echo "username=token"; echo "password=${{ secrets.DEPLOY_TOKEN }}"; }; f' git clone --depth 1 --branch "${{ github.ref_name }}" "${{ github.server_url }}/${{ github.repository }}.git" . git checkout "${{ github.sha }}"