CI: Fix emacs directory path
This commit is contained in:
parent
2151569e24
commit
5984dbcdd9
2 changed files with 3 additions and 4 deletions
|
@ -12,7 +12,6 @@ build:
|
||||||
image: silex/emacs:27.2-alpine-ci
|
image: silex/emacs:27.2-alpine-ci
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- mv dot-emacs .emacs.d
|
|
||||||
- emacs -Q --script publish/publish.el
|
- emacs -Q --script publish/publish.el
|
||||||
- apk add --no-cache rsync
|
- apk add --no-cache rsync
|
||||||
- rsync --archive --verbose --chown=gitlab-ci:www-data --delete --progress -e"ssh -p "$SSH_PORT"" public/ "$SSH_USER"@mmk2410.org:/var/www/config.mmk2410.org/
|
- rsync --archive --verbose --chown=gitlab-ci:www-data --delete --progress -e"ssh -p "$SSH_PORT"" public/ "$SSH_USER"@mmk2410.org:/var/www/config.mmk2410.org/
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t)
|
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t)
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install 'htmlize)
|
(package-install 'htmlize)
|
||||||
(add-to-list 'load-path "~/.emacs.d/elpa")
|
(add-to-list 'load-path "./elpa")
|
||||||
|
|
||||||
(require 'org)
|
(require 'org)
|
||||||
(require 'ox-publish)
|
(require 'ox-publish)
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
`(("dot-emacs:org"
|
`(("dot-emacs:org"
|
||||||
:base-directory "~/.emacs.d"
|
:base-directory "."
|
||||||
:publishing-directory ,mmk2410/dot-emacs-publish-publishing-dir
|
:publishing-directory ,mmk2410/dot-emacs-publish-publishing-dir
|
||||||
:exclude ".*"
|
:exclude ".*"
|
||||||
:include ("config.org")
|
:include ("config.org")
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
:html-validation-link nil
|
:html-validation-link nil
|
||||||
)
|
)
|
||||||
("dot-emacs:static"
|
("dot-emacs:static"
|
||||||
:base-directory "~/.emacs.d/publish/assets"
|
:base-directory "./publish/assets"
|
||||||
:publishing-directory ,mmk2410/dot-emacs-publish-publishing-dir
|
:publishing-directory ,mmk2410/dot-emacs-publish-publishing-dir
|
||||||
:base-extension "css\\|woff\\|woff2\\|ico"
|
:base-extension "css\\|woff\\|woff2\\|ico"
|
||||||
:publishing-function org-publish-attachment
|
:publishing-function org-publish-attachment
|
||||||
|
|
Loading…
Reference in a new issue