DocTypes and Templates not coped from local dev to staging. How to move them?

I just finished some work on my local dev environment which included creating some Document Types and there templates. I checked that code into GitHub where an action was triggered to build and deploy to my staging environment. The build was fine and I can hit the site no problem. When I login to the backoffice I don’t see any of my document types or templates. I do see my CSS and JS files though. I have SourceCodeAuto set and I did make sure to check in the umbraco/models directory. What am I missing so that the doc types and templates get recognized in the new environment?

Document types and template (references, not cshtml) are stored in the database and so won’t be transferred through a deployment.

Check out uSync; it’s a tool that allows you deploy these database changes to different environments easily through config files that you can store via source control.

Thanks, I have used uSync Compleate in the past as well as Umbraco Deploy. This time around I was not using either and it just seemed odd that I would have to build templates and doc types by hand in every environment or use a plug-in so I thought I was missing something.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.