deploy with stages as env varaibale