ci: use auto-checkout, remove manual clone
CI/CD Pipeline / build-and-deploy (push) Failing after 0s

This commit is contained in:
2026-06-16 16:33:37 +08:00
parent 0bd1f38f9d
commit 3a61400380
-5
View File
@@ -8,11 +8,6 @@ jobs:
build-and-deploy:
runs-on: docker
steps:
- name: Clone code
run: |
git clone https://git.plfai.cn/test/fastapi-demo.git .
git checkout ${GITHUB_SHA}
- name: Docker Build
run: |
docker build --network host \