Is there a clear reference for the building / publishing process for SA?
When I select 'build web app' from the toolbar, I'd expect SA to build the environment currently selected under build settings, ie, regenerate the files in /build/production or /build/testing, and nothing more.
When I click the 'publish' button from the toolbar, I'd expect SA to copy the contents from /build/production or /build/testing to the publish path. It may also complete a build if required.
As of SA 220.127.116.116, if I leave the publish path blank under build settings, then run a build, it behaves as proposed above. If I add a 'publish path' under build settings, it not only builds, but also copies the output to the specified path. Ok, we can work with this.
This is where I think the confusion starts.
Under build settings, we specified a publish path. One would expect when they click publish from the toolbar, this is where our compiled project output would end up. It isn't until one clicks 'project settings' and finds there is an option in there ALSO called 'publish path', and that this is the path that 'publish uses', with the 'publish' button copying most of the of the project to that location?
At the very least, it seems that something should be renamed to clarify things?