publish code and resources