Deploy template