From 9aa9b2740bf88ce60b7842b69a470d8dff296afa Mon Sep 17 00:00:00 2001 From: John Gatward Date: Tue, 24 Mar 2026 23:06:17 +0000 Subject: [PATCH] update deploy.yaml --- .gitea/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7ccfad8..6f222a5 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -32,8 +32,8 @@ jobs: git config http.postBuffer 524288000 mv output_content /tmp/site_final - git checkout --orphan docs-static - git rm -rf . + git fetch origin docs-static + git checkout docs-static || git checkout --orphan docs-static cp -r /tmp/site_final/. . # Optional: Remove source maps to save space