Thanks for the answer. Some of your comments need clarification.
It’s clear that .cache and node_modules shouldn’t be in repo and shouldn’t be deployed. But the build folder is product of build process (i.e. on github workflow), so why do you state that it shouldn’t be deployed?
If it’s available on the destination host. npm is much safer to use, because its always with the node.
But I get your point.
Plugin to create admin user… sorry but it doesn’t sound safe ![]()
I think I’ll try strapi admin:reset-user-password command.
Yes, you’r right, I"ll skip user migration.
That was my initial idea, but I think I don’t need to export/import all the tables. The question is - records from which tables should I move, assuming I don’t want users, admin and configuration (I’ll use strapi configuration:x for this)? What is the minimal set of data I need to transfer, to keep the local content?