Copy static contents rather than directory
This commit is contained in:
parent
44635a13e9
commit
bb5c66594a
|
@ -25,7 +25,7 @@ git clone "$repo_dir" "$tmp_dir"
|
|||
rm -rf "$tmp_dir/.git/"
|
||||
|
||||
echo "[[ Deploy ]] Copying files from '$tmp_dir' to '$dst_dir'."
|
||||
cp -r "$tmp_dir" "$dst_dir"
|
||||
cp -r "$tmp_dir/" "$dst_dir"
|
||||
chmod -R g+w "$dst_dir"
|
||||
|
||||
echo "[[ Deploy ]] Deleting '$tmp_dir'."
|
||||
|
|
Loading…
Reference in New Issue