use deployment, not environment