Please make necessary changes in the master branch. You can test the master branch by
Once you are satisfied with your changes, please change the site/_config.yml back, and commit your changes to the master branch.
Once you are done pushing all changes to the master branch, run “publish.sh” script. This script will build the new website and commit the newly generated pages to the “asf-site” branch. If all goes well, you just need to push the new commit to the branch by calling “git push origin asf-site”.
After this, you switch back to the “master” branch.
** For older bundle exec jekyll installations (2.4) you might not have “clean” command. Then just delete site/_site directory instead of calling “bundle exec jekyll clean” in the publish script. And let run rest of the script.