Fix auto publish config