diff options
Diffstat (limited to 'wiki-edit/tasks')
-rw-r--r-- | wiki-edit/tasks/main.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
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))' |