Skip to content

Commit 0d429ae

Browse files
DavidLiedleclaude
andcommitted
Fix: create ~/.emacs.d and disable global org-id tracking in CI
org-id-find tried to write .org-id-locations to ~/.emacs.d/ which doesn't exist on the GitHub Actions runner. Create it explicitly and set org-id-track-globally nil to avoid the file write entirely. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4b248bf commit 0d429ae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Build HTML book
3333
run: |
34-
mkdir -p public
34+
mkdir -p public ~/.emacs.d
3535
emacs --batch -l publish.el --funcall org-publish-all
3636
3737
- name: Setup GitHub Pages

publish.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
;; not a notebook. Blocks are displayed verbatim.
2222
org-export-use-babel nil
2323
;; Convert file:chapter.org links → chapter.html in HTML export
24-
org-html-link-org-files-as-html t)
24+
org-html-link-org-files-as-html t
25+
;; Don't try to maintain a global ID database in CI
26+
org-id-track-globally nil)
2527

2628
;; Use htmlize for syntax highlighting when available
2729
(when (require 'htmlize nil t)

0 commit comments

Comments
 (0)