NOTICE: GitHub Pages services build and deploy from "main" branch and "docs/" directory.
- git switch to the branch "main" with
git switch main. - modify my website blog
.orgfiles. - Emacs org-publish will publish the changes with Emacs command
[M-x org-publish RET <component> RET]. NOTE: [org-publish] you can only publish specify component instead of the whole website project. - git push the branch "
main" source code file changes to the remote repository with:- "
git add ." (exclude org-publish exported destination dir "docs/") git commit -m "<your commit message>"git push origin main
- "
- git push the branch "
main" destination file changes in "docs/" to remote repository with:- "
git add docs" git commit -m "<your commit message>"git push origin main
- "
- verify that the changes are live on the website at my blog.
