From 0ae66139f5e7afa09964b77a2b16f5339c2b535b Mon Sep 17 00:00:00 2001 From: Scott Hatlen Date: Mon, 9 Mar 2026 20:43:26 -0700 Subject: [PATCH] Use auth token for git clone in CI Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5fadc2d..6ff1fe5 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout run: | - git clone --depth 1 --branch "${{ github.ref_name }}" "https://git.scottyah.com/${{ github.repository }}.git" . + git clone --depth 1 --branch "${{ github.ref_name }}" "https://x-access-token:${{ github.token }}@git.scottyah.com/${{ github.repository }}.git" . git checkout "${{ github.sha }}" - name: Build image