Make nginx target directory configurable
This commit is contained in:
parent
d2711c91e9
commit
90c21446dd
|
@ -3,7 +3,7 @@
|
|||
|
||||
repo_dir="$(pwd)"
|
||||
repo_name="$(basename -s .git "$repo_dir")"
|
||||
dst_dir="/usr/local/etc/nginx"
|
||||
dst_dir="$1"
|
||||
tmp_dir="$HOME/tmp/git/$repo_name-$(date +%s)"
|
||||
|
||||
echo "[[ Deploy ]] npm($repo_name)"
|
||||
|
|
Loading…
Reference in New Issue