Make nginx target directory configurable

This commit is contained in:
Florine W. Dekker 2021-04-20 21:53:23 +02:00
parent d2711c91e9
commit 90c21446dd
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
1 changed files with 1 additions and 1 deletions

View File

@ -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)"