diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e441075..995f2bd 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -19,8 +19,9 @@ jobs: command -v git >/dev/null || (apt-get update && apt-get install -y --no-install-recommends git) auth=$(printf '%s' "x-access-token:${GITHUB_TOKEN}" | base64 -w0) git init -q . + git config http.sslVerify false git -c http.extraHeader="Authorization: Basic ${auth}" \ - fetch --depth=1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}" + fetch --depth=1 "https://git.home.p75.dev/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}" git checkout -q FETCH_HEAD - name: Build shadow jar