fix: drop git-lfs from workflow (server LFS disabled)
deploy-cassso-service / build-deploy (push) Failing after 2s
deploy-cassso-service / build-deploy (push) Failing after 2s
This commit is contained in:
@@ -12,14 +12,13 @@ jobs:
|
||||
container:
|
||||
image: docker:24
|
||||
steps:
|
||||
- name: Install git + git-lfs (alpine)
|
||||
run: apk add --no-cache git git-lfs
|
||||
- name: Install git (alpine)
|
||||
run: apk add --no-cache git
|
||||
|
||||
- name: Checkout (manual, internal Gitea) + LFS pull
|
||||
# cas.war (174MB) 走 Git LFS 存储,clone 后需 git lfs pull 取回真实文件
|
||||
- name: Checkout (manual, internal Gitea)
|
||||
# cas.war (174MB) 已作为普通 blob 入库(服务端未启用 LFS)
|
||||
run: |
|
||||
git clone --depth 1 --branch main http://192.168.10.160:3000/${GITHUB_REPOSITORY}.git /tmp/src
|
||||
cd /tmp/src && git lfs pull
|
||||
cp -a /tmp/src/. .
|
||||
rm -rf .git .gitea
|
||||
rm -rf /tmp/src
|
||||
|
||||
Reference in New Issue
Block a user