Copy static contents rather than directory

This commit is contained in:
Florine W. Dekker 2021-04-14 20:11:38 +02:00
parent 44635a13e9
commit bb5c66594a
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
1 changed files with 1 additions and 1 deletions

View File

@ -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'."