Fill in source path for mirroring
This commit is contained in:
parent
bb5c66594a
commit
e2a25bebf1
|
@ -1,10 +1,9 @@
|
|||
#!/usr/local/bin/bash
|
||||
# $1 = source repository
|
||||
# $2 = destination repository, including tokens
|
||||
# $1= destination repository, including tokens
|
||||
|
||||
repo_url="$1"
|
||||
repo_url="$(pwd)"
|
||||
repo_name="$(basename -s .git "$repo_url")"
|
||||
dst_url="$2"
|
||||
dst_url="$1"
|
||||
tmp_dir="$HOME/tmp/git/$repo_name-$(date +%s)"
|
||||
|
||||
echo "[[ Deploy ]] mirror-to-github($repo_name)"
|
||||
|
|
Loading…
Reference in New Issue