Implement preview deployer using events