fix: change --depth 0 to --depth 100 for compatibility
Homelab Main / validate (push) Failing after 5s Details
Homelab Main / deploy (push) Has been skipped Details

This commit is contained in:
jv 2026-09-18 09:07:05 -05:00
parent 0e41c661b7
commit ff4d98aa4e
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Check out repository
run: |
set -e
git clone --depth 0 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
- name: Validate repository
run: |
set -e
@ -30,7 +30,7 @@ jobs:
- name: Check out repository
run: |
set -e
git clone --depth 0 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
- name: Block automatic deploy for external Gitea changes
run: |
set -e