fix: replace actions/checkout with custom checkout logic in deploy workflow

This commit is contained in:
2026-06-24 08:53:17 +02:00
parent 4777b1c68e
commit 237abcbd63
+8 -4
View File
@@ -13,10 +13,14 @@ jobs:
runs-on: host runs-on: host
steps: steps:
- name: Checkout - name: Checkout Code
uses: actions/checkout@v4 run: |
with: if [ -d ".git" ]; then
fetch-depth: 2 git fetch --depth=2
git reset --hard FETCH_HEAD
else
git clone --depth=2 https://${{ gitea.server_url }}/${{ gitea.repository }}.git .
fi
- name: Check if version changed - name: Check if version changed
id: version_check id: version_check