From 0d6f6ec2a04d295bb3440da1aaa64c4af6d5fab9 Mon Sep 17 00:00:00 2001 From: jv Date: Fri, 18 Sep 2026 08:55:05 -0500 Subject: [PATCH] fix: replace actions/checkout with manual git clone to fix URL path issue --- .gitea/workflows/homelab-main.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/homelab-main.yml b/.gitea/workflows/homelab-main.yml index 0019669..1699b22 100644 --- a/.gitea/workflows/homelab-main.yml +++ b/.gitea/workflows/homelab-main.yml @@ -12,10 +12,9 @@ jobs: container: node:18-bullseye steps: - name: Check out repository - uses: actions/checkout@v4 - with: - token: ${{ secrets.GITEATOKEN }} - fetch-depth: 0 + run: | + set -euo pipefail + git clone --depth 0 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git . - name: Validate repository run: | set -euo pipefail @@ -29,10 +28,9 @@ jobs: if: ${{ gitea.ref == 'refs/heads/main' }} steps: - name: Check out repository - uses: actions/checkout@v4 - with: - token: ${{ secrets.GITEATOKEN }} - fetch-depth: 0 + run: | + set -euo pipefail + git clone --depth 0 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git . - name: Block automatic deploy for external Gitea changes run: | set -euo pipefail