Managed and deployed using git/GitHub, from 'gh-pages' branch, in order to be able to work alongside a user site.
Checkout the 'main' branch, make changes to it, commit and push the changes, checkout the 'gh-pages' branch, delete it's files before merging the main branch and pushing to the 'gh-pages' branch:
git checkout maingit add .git commit -m "Updates made"git push origin maingit checkout gh-pagesrm *.*git merge maingit push origin gh-pagesSee my CodePen.