After making changes, it's good to build the site locally once, because some errors can go silently in development mode. Run the below command for a production build:
As in the previous step, you can right click the script/command and run. If no errors are reported, It's time to publish the site.
Please refer to the documentation here.