diff options
-rw-r--r-- | .gitlab-ci.yml | 6 | ||||
-rw-r--r-- | publish.el | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 091ab15..9b6ccfa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,11 @@ -image: registry.gitlab.com/pages/hugo:latest +image: ymherklotz/hugo:latest variables: GIT_SUBMODULE_STRATEGY: recursive pages: - before_script: - - sudo apt-get install emacs script: - - emacs --batch --no-init --load publish.el + - emacs --batch --no-init --file content.org --load publish.el - hugo artifacts: paths: @@ -3,12 +3,10 @@ (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-refresh-contents) -(package-install 'org-plus-contrib) (package-install 'ox-hugo) (require 'org) (require 'ox) (require 'ox-hugo) -(find-file-literally "content.org") (org-hugo-export-wim-to-md :all-subtrees) |