mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-21 05:28:33 +00:00
store build artifacts
This commit is contained in:
parent
09408fd67f
commit
fdfdc4f3cb
2 changed files with 11 additions and 9 deletions
|
@ -8,22 +8,24 @@ before_script:
|
|||
|
||||
test:
|
||||
script:
|
||||
- emacs --batch -Q --script genfiles.el
|
||||
- cd doc; hugo
|
||||
- emacs --batch -Q --script genfiles.el
|
||||
- cd doc; hugo
|
||||
except:
|
||||
- master
|
||||
- master
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- doc/public
|
||||
- org-cv-exports
|
||||
when: always
|
||||
|
||||
pages:
|
||||
script:
|
||||
- emacs --batch -Q --script genfiles.el
|
||||
- cd doc; hugo
|
||||
- mv public/ ../public/ # Because I remain now in the doc folder
|
||||
- emacs --batch -Q --script genfiles.el
|
||||
- cd doc; hugo
|
||||
- mv public/ ../public/ # Because I remain now in the doc folder
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
- master
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(defvar cv-cwd default-directory
|
||||
"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)
|
||||
(with-current-buffer (find-file-noselect "/tmp/install-org.el")
|
||||
(eval-buffer))
|
||||
|
@ -44,7 +44,7 @@
|
|||
(copy-file (concat cv-cwd "doc/smile.png") cv-workdir t)
|
||||
(make-directory (concat cv-cwd "/doc/static/") t)
|
||||
(message "alta %s" (featurep 'ox-altacv))
|
||||
(export-latex 'moderncv "moderncv.org")
|
||||
(export-latex 'altacv "altacv.org")
|
||||
(export-latex 'moderncv "moderncv.org")
|
||||
(export-latex 'awesomecv2 "awesomecv.org")
|
||||
(export-latex 'awesomecv "awesome-letter.org")
|
||||
|
|
Loading…
Reference in a new issue