executing stage command on deploy