mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-23 22:48:35 +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:
|
test:
|
||||||
script:
|
script:
|
||||||
- emacs --batch -Q --script genfiles.el
|
- emacs --batch -Q --script genfiles.el
|
||||||
- cd doc; hugo
|
- cd doc; hugo
|
||||||
except:
|
except:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- doc/public
|
- doc/public
|
||||||
|
- org-cv-exports
|
||||||
|
when: always
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
- emacs --batch -Q --script genfiles.el
|
- emacs --batch -Q --script genfiles.el
|
||||||
- cd doc; hugo
|
- cd doc; hugo
|
||||||
- mv public/ ../public/ # Because I remain now in the doc folder
|
- mv public/ ../public/ # Because I remain now in the doc folder
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue