fix: use git clone instead of checkout action (no node required)
Deploy / deploy (push) Failing after 1s

This commit is contained in:
枫
2026-08-23 14:30:03 +00:00
parent d30ebd0e4a
commit 94bd34b838
+7 -2
View File
@@ -10,14 +10,19 @@ jobs:
runs-on: aliyun
steps:
- name: Checkout
uses: http://47.121.181.112:3000/wonder/checkout@v4
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
git clone --depth 1 -b main \
https://x-access-token:${GITEA_TOKEN}@47.121.181.112:3000/wonder/illustrated-algorithm.git \
/tmp/illustrated-algorithm
- name: Build Docker Image
run: |
docker build \
--cache-from illustrated-algorithm:latest \
-t illustrated-algorithm:latest \
.
/tmp/illustrated-algorithm
- name: Deploy Container
run: |