fix .public clean by git

This commit is contained in:
hardy 2023-06-03 23:46:19 +08:00
parent 33c58de538
commit dd9dae398f
No known key found for this signature in database
GPG Key ID: D1ED7F7A9ED520C3
2 changed files with 1 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,6 +1,4 @@
/logs/ /logs/
.public/
.public/static
npm-debug.log npm-debug.log
yarn-error.log yarn-error.log
node_modules node_modules

View File

@ -14,7 +14,7 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
cd $WORKSPACE && git clean -fxd cd $WORKSPACE && git clean -fxd
#pull code #pull code
cd $WORKDIR && git clean -fxd cd $WORKDIR && git clean -fxd -e ".public"
git stash && git pull origin master git stash && git pull origin master
#build #build