set current_env to the target env when pushing