SXA CLI yet another hidden gem

Last time (unfortunately), I have an opportunity to play a little with SXA CLI. Generally it works fine but I found another annoying thing. The previous one I described here.
Today I want to configure the Azure DevOps pipeline to deploy the theme via SXA CLI.
There is a command to register the Sitecore URL.


Both commands work fine, but when I want to upload theme files with the command.

I was surprised because this command does not use the Sitecore URL registered by sxa register command , but from the configuration file. So when I want to deploy theme to different environments I have to modify configuration file.

It probably will be useful to have consistency or at least an option to provide a URL parameter for the update command.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.