try to get the right directory for pushing docs