From 360cb4600f1569f3621f1332996521696b8936e7 Mon Sep 17 00:00:00 2001 From: xun Date: Wed, 27 Dec 2023 14:53:47 +0800 Subject: [PATCH] fix: Post run action checkout failed --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ee1f1c..4fd96db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,6 @@ jobs: git clone https://github.com/NJUPT-SAST/sast-wiki.git cd sast-wiki git switch main - [[ -d docs ]] && rm -rf docs - mv $ORIGDIR docs + [[ -d docs ]] && rm -rf docs && mkdir docs + cp -r $ORIGDIR/* docs mkdocs build