From ff012fd81dd5d2da4e3e43c0ecec1625b5bfce95 Mon Sep 17 00:00:00 2001 From: xun Date: Tue, 26 Dec 2023 22:44:08 +0800 Subject: [PATCH] fix: Make sure the wiki content is moved to the docs folder --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 12a3234..7ee1f1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,5 +17,6 @@ jobs: git clone https://github.com/NJUPT-SAST/sast-wiki.git cd sast-wiki git switch main - cp -r $ORIGDIR docs/ + [[ -d docs ]] && rm -rf docs + mv $ORIGDIR docs mkdocs build