How to publish only the serialized items using the Sitecore CLI command.
I have configured the Module files path in the sitecore.json
file.
When I run dotnet sitecore publish
, i guess it is trying to publish the whole site.
So, in order to publish only the serialized items, I have tried this command which gives an error.
dotnet sitecore publish --config .\sitecore.json
The sitecore.json
file is in the project's root folder. So the path is correct. The pull
& push
commands are working fine.
Update 1:
When I execute dotnet sitecore publish --config .\
it says started and there is no progress for almost 30 mins and it then shows this error.
Update 2:
My sitecore.json
file is in the root directory. Yet I have provided the path. There is no progress. It just says publish started. After 10 mins I have to do a CTRL + C
to stop it.
Could it be because, how I have named my module files.