We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b1c4b5 commit 907e543Copy full SHA for 907e543
deploy.sh
@@ -48,9 +48,10 @@ for i in $EXAMPLES; do
48
yarn
49
rm -rf dist .cache
50
yarn build
51
- # Remove the example directory.
52
- gsutil -m rm -r gs://tfjs-examples/$EXAMPLE_NAME
53
- # Gzip and copy all the dist files. The trailing slash is important.
+ # Remove files in the example directory (but not sub-directories).
+ gsutil -m rm gs://tfjs-examples/$EXAMPLE_NAME/*
+ # Gzip and copy all the dist files.
54
+ # The trailing slash is important so we get $EXAMPLE_NAME/dist/.
55
gsutil -m cp -Z -r dist gs://tfjs-examples/$EXAMPLE_NAME/
56
cd ..
57
done
0 commit comments