ci: shallow checkout for patch deploy
This commit is contained in:
@@ -18,11 +18,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository (shallow)
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.TEKTON_RELEASE_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.TEKTON_RELEASE_TOKEN }}
|
||||||
run: |
|
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.name "god"
|
||||||
git config user.email "god@noreply.git.klud.top"
|
git config user.email "god@noreply.git.klud.top"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user