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:
|
container:
|
||||||
image: docker:24
|
image: docker:24
|
||||||
steps:
|
steps:
|
||||||
- name: Install git + git-lfs (alpine)
|
- name: Install git (alpine)
|
||||||
run: apk add --no-cache git git-lfs
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout (manual, internal Gitea) + LFS pull
|
- name: Checkout (manual, internal Gitea)
|
||||||
# cas.war (174MB) 走 Git LFS 存储,clone 后需 git lfs pull 取回真实文件
|
# cas.war (174MB) 已作为普通 blob 入库(服务端未启用 LFS)
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch main http://192.168.10.160:3000/${GITHUB_REPOSITORY}.git /tmp/src
|
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/. .
|
cp -a /tmp/src/. .
|
||||||
rm -rf .git .gitea
|
rm -rf .git .gitea
|
||||||
rm -rf /tmp/src
|
rm -rf /tmp/src
|
||||||
|
|||||||
Reference in New Issue
Block a user