ci: shallow checkout for patch deploy

This commit is contained in:
god
2026-07-04 21:47:58 +08:00
parent e845c1be25
commit 939d2b0ac2
+2 -2
View File
@@ -18,11 +18,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
- name: Checkout repository (shallow)
env:
GITEA_TOKEN: ${{ secrets.TEKTON_RELEASE_TOKEN }}
run: |
git clone http://god:$GITEA_TOKEN@52.74.133.55:3000/danchie/tekton.git .
git clone --depth 1 http://god:$GITEA_TOKEN@52.74.133.55:3000/danchie/tekton.git .
git config user.name "god"
git config user.email "god@noreply.git.klud.top"