- fix ci for multiple environments in different stages