fix: ignore the VHOST file
This commit is contained in:
1 parent
63892ed74a
commit
6952ecd3b3
1 file changed
+1
-1
@@ -16,7 +16,7 @@ trigger-git-post-app-rename-setup() {
|
|||||||
fn-plugin-property-destroy "git" "$OLD_APP"
|
fn-plugin-property-destroy "git" "$OLD_APP"
|
||||||
|
|
||||||
pushd "$DOKKU_ROOT/$OLD_APP/." >/dev/null
|
pushd "$DOKKU_ROOT/$OLD_APP/." >/dev/null
|
||||||
find ./* \( -name ".cache" -o -name "cache" \) -prune -o -print | cpio -pdmu --quiet "$DOKKU_ROOT/$NEW_APP"
|
find ./* \( -name ".cache" -o -name "cache" -o -name "VHOST" \) -prune -o -print | cpio -pdmu --quiet "$DOKKU_ROOT/$NEW_APP"
|
||||||
popd &>/dev/null || pushd "/tmp" >/dev/null
|
popd &>/dev/null || pushd "/tmp" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user