switched puplish and deploy