fix(ci): use github.server_url template expression instead of missing GITEA_SERVER_URL env
Web Client CI/CD / Lint (ESLint + TypeScript) (push) Failing after 40s
Web Client CI/CD / Build (tsc + Vite) (push) Failing after 37s
Web Client CI/CD / Deploy to shared hosting (push) Has been skipped

This commit is contained in:
root
2026-06-21 21:42:45 -04:00
parent 32875e54a8
commit 1992db65b8
+12 -3
View File
@@ -34,8 +34,11 @@ jobs:
GIT_SSL_NO_VERIFY: "1" GIT_SSL_NO_VERIFY: "1"
run: | run: |
apk add --no-cache git apk add --no-cache git
SERVER="${{ github.server_url }}"
REPO="${{ github.repository }}"
TOKEN="${{ github.token }}"
git clone --depth 1 \ git clone --depth 1 \
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ "https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
. .
git fetch --depth 1 origin "${{ github.sha }}" git fetch --depth 1 origin "${{ github.sha }}"
git checkout "${{ github.sha }}" git checkout "${{ github.sha }}"
@@ -69,8 +72,11 @@ jobs:
GIT_SSL_NO_VERIFY: "1" GIT_SSL_NO_VERIFY: "1"
run: | run: |
apk add --no-cache git apk add --no-cache git
SERVER="${{ github.server_url }}"
REPO="${{ github.repository }}"
TOKEN="${{ github.token }}"
git clone --depth 1 \ git clone --depth 1 \
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ "https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
. .
git fetch --depth 1 origin "${{ github.sha }}" git fetch --depth 1 origin "${{ github.sha }}"
git checkout "${{ github.sha }}" git checkout "${{ github.sha }}"
@@ -118,8 +124,11 @@ jobs:
GIT_SSL_NO_VERIFY: "1" GIT_SSL_NO_VERIFY: "1"
run: | run: |
apk add --no-cache git apk add --no-cache git
SERVER="${{ github.server_url }}"
REPO="${{ github.repository }}"
TOKEN="${{ github.token }}"
git clone --depth 1 \ git clone --depth 1 \
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ "https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
. .
git fetch --depth 1 origin "${{ github.sha }}" git fetch --depth 1 origin "${{ github.sha }}"
git checkout "${{ github.sha }}" git checkout "${{ github.sha }}"