Skip to content

Commit 6ca7f13

Browse files
committed
Simplified deploy-script
1 parent 65d097c commit 6ca7f13

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

utils/deploy.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
#!/bin/bash
22

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-
83
echo "Running deploy..."
94

105
SRC_URL='git@github.com:frontendu/frontendu.github.io'
116
NPM_VERSION=$1
12-
TMP_PATH=`get_tmp`
7+
TMP_PATH=.tmp
138
DIST_PATH=docs
149

10+
1511
if [ -z $NPM_VERSION ]; then
1612
NPM_VERSION='patch'
1713
fi

0 commit comments

Comments
 (0)