From dd9dae398ff92ebdadc12d3851c307fdf073296b Mon Sep 17 00:00:00 2001 From: hardy Date: Sat, 3 Jun 2023 23:46:19 +0800 Subject: [PATCH] fix .public clean by git --- .gitignore | 2 -- build.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 83b28af1..43174571 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ /logs/ -.public/ -.public/static npm-debug.log yarn-error.log node_modules diff --git a/build.sh b/build.sh index 834c6b7e..9ab1189a 100644 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ export DOCKER_CLI_EXPERIMENTAL=enabled cd $WORKSPACE && git clean -fxd #pull code -cd $WORKDIR && git clean -fxd +cd $WORKDIR && git clean -fxd -e ".public" git stash && git pull origin master #build