Gitlab Pages and Org-mode
It’s easy to publish org-mode pages via Gitab CI and Pages.
This project was published with the following .gitlab-ci.yml:
image: iquiw/alpine-emacs
.build: &build
script:
- emacs --batch --no-init-file --load publish.el --funcall org-publish-all
artifacts:
paths:
- public
pages:
<<: *build
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
test:
<<: *build
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH