store build artifacts

This commit is contained in:
Oscar Najera 2023-10-22 01:53:54 +02:00
parent 09408fd67f
commit fdfdc4f3cb
2 changed files with 11 additions and 9 deletions

View file

@ -16,6 +16,8 @@ test:
artifacts: artifacts:
paths: paths:
- doc/public - doc/public
- org-cv-exports
when: always
pages: pages:
script: script:

View file

@ -1,6 +1,6 @@
(defvar cv-cwd default-directory (defvar cv-cwd default-directory
"remember the current directory, find-file changes it") "remember the current directory, find-file changes it")
(defvar cv-workdir "/tmp/org-cv-exports/") (defvar cv-workdir (expand-file-name "org-cv-exports/"))
(toggle-debug-on-error) (toggle-debug-on-error)
(with-current-buffer (find-file-noselect "/tmp/install-org.el") (with-current-buffer (find-file-noselect "/tmp/install-org.el")
(eval-buffer)) (eval-buffer))
@ -44,7 +44,7 @@
(copy-file (concat cv-cwd "doc/smile.png") cv-workdir t) (copy-file (concat cv-cwd "doc/smile.png") cv-workdir t)
(make-directory (concat cv-cwd "/doc/static/") t) (make-directory (concat cv-cwd "/doc/static/") t)
(message "alta %s" (featurep 'ox-altacv)) (message "alta %s" (featurep 'ox-altacv))
(export-latex 'moderncv "moderncv.org")
(export-latex 'altacv "altacv.org") (export-latex 'altacv "altacv.org")
(export-latex 'moderncv "moderncv.org")
(export-latex 'awesomecv2 "awesomecv.org") (export-latex 'awesomecv2 "awesomecv.org")
(export-latex 'awesomecv "awesome-letter.org") (export-latex 'awesomecv "awesome-letter.org")