[Misc] Fix drone CI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2021-10-23 20:15:44 +02:00
parent 6a73bdb74e
commit fd5019335d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,7 @@ steps:
- name: build
image: silex/emacs:27-alpine
commands:
- apk add git
- emacs --script export.el
when:
branch:

View File

@ -1,14 +1,14 @@
#!/usr/bin/emacs --script
#!/usr/bin/env -S emacs -Q --script
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(require 'org)
(require 'ox-html)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")))
(package-initialize)
(package-refresh-contents)
(package-install 'htmlize)
(package-install 's)
(require 's)
(setq org-confirm-babel-evaluate nil
org-html-validation-link nil)
(let* ((files (mapcar #'expand-file-name
(let ((files (mapcar #'expand-file-name
(file-expand-wildcards "org/config/*.org"))))
(mapc (lambda (file)
(message (format "==========\nExporting %S\n==========" file))