fix .public clean by git
This commit is contained in:
parent
33c58de538
commit
dd9dae398f
|
@ -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
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue