I have org files in a github repository and using
project pages future. Exporting org files
to html for use in gh-pages like this;
- editing org files on
masterbranch and committing - exporting html to a temporary directory
- changing branch to
gh-pages - copying files from temporary directory and committing
is there a way of exporting directly to gh-pages branch without
this export/change branch/copy cycle?
I fixed problem with using git submodules. Now I can export my org files to folder under
masterrespository. This folder is in fact a submodule of same repositoriesgh-pagesbranch. You can examine myorg-publish-project-alistin repository and page. Now my development cycle;masterthen export htmlgh-pagesdirectorymasterroot directoryFirstly I added
gh-pagesbranch as told in github then addedgh-pagesbranch as submodule:Exported
index.orgas html togh-pagesdirectory:Changed submodule added to
master: