Handle deploy to subdirectory