From 2d391af591700ae52b4f2630454eb31dcbbdd3ad Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 14 Oct 2022 20:36:07 -0400 Subject: Make publishing work again --- wiki-edit/tasks/main.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wiki-edit') diff --git a/wiki-edit/tasks/main.yaml b/wiki-edit/tasks/main.yaml index 570c953..11ca05b 100644 --- a/wiki-edit/tasks/main.yaml +++ b/wiki-edit/tasks/main.yaml @@ -14,6 +14,7 @@ name: emacs-snapshot-nox state: present - name: Set up or update repositories + tags: publish block: - name: Check out wiki repository ansible.builtin.git: @@ -23,6 +24,7 @@ ansible.builtin.git: repo: git@git.emacsconf.org:pub/emacsconf-el dest: ~/emacsconf-el + register: elisp - name: Check out emacsconf-2022-private ansible.builtin.git: repo: git@git.emacsconf.org:emacsconf-2022-private @@ -33,7 +35,7 @@ block: - name: Publish the schedule command: emacs -l ~/.emacs.d/init.el --batch --exec '(emacsconf-generate-main-schedule)' - when: private.changed and slug is not defined + when: force_publish or ((private.changed or elisp.changed) and slug is not defined) - name: Update a specific talk's nav page tags: publish-talk command: emacs -l ~/.emacs.d/init.el --batch --exec '(emacsconf-with-talk-heading "{{ slug }}" (emacsconf-update-talk))' -- cgit v1.2.3