We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65d097c commit 6ca7f13Copy full SHA for 6ca7f13
1 file changed
utils/deploy.sh
@@ -1,17 +1,13 @@
1
#!/bin/bash
2
3
-# Get temporary path
4
-function get_tmp {
5
- echo ".`cat /dev/urandom | env LC_CTYPE=C tr -dc a-z0-9 | head -c 16`"
6
-}
7
-
8
echo "Running deploy..."
9
10
SRC_URL='git@github.com:frontendu/frontendu.github.io'
11
NPM_VERSION=$1
12
-TMP_PATH=`get_tmp`
+TMP_PATH=.tmp
13
DIST_PATH=docs
14
+
15
if [ -z $NPM_VERSION ]; then
16
NPM_VERSION='patch'
17
fi
0 commit comments