ci: use auto-checkout, remove manual clone
CI/CD Pipeline / build-and-deploy (push) Failing after 0s
CI/CD Pipeline / build-and-deploy (push) Failing after 0s
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user