Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 53e502fa authored by FELŠÖCI Marek's avatar FELŠÖCI Marek
Browse files

CI/CD: use an isolated Guix environment and tag jobs

parent db3c2f3d
Branches
No related tags found
No related merge requests found
......@@ -2,9 +2,16 @@
# https://gitlab.com/pages/org-mode.
pages:
tags: ["guix"]
script:
- emacs --batch --eval "(progn (package-initialize) (package-refresh-contents) (package-install 'org))"
- emacs --batch --no-init-file --load pages.el --funcall org-publish-all
# Export the example page to HTML and publish it alongside with the template
# sources to the GitLab page.
- >
guix environment --pure --ad-hoc coreutils which wget emacs emacs-org2web
emacs-org emacs-org-contrib emacs-htmlize -- emacs --batch --no-init-file
--eval '(setq org-confirm-babel-evaluate nil)' --load pages.el --funcall
org-publish-all
# Set the example page to be the index page of the GitLab page.
- mv ./public/example.html ./public/index.html
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment