summaryrefslogtreecommitdiffstats
path: root/wiki
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-14 20:36:07 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-14 20:36:07 -0400
commit2d391af591700ae52b4f2630454eb31dcbbdd3ad (patch)
tree04bcbef2757cce9fd932e5c80d6347a7f91af56c /wiki
parente618dfe5588d2c9c5d7fb954f81001f5f84d6e1f (diff)
downloademacsconf-ansible-2d391af591700ae52b4f2630454eb31dcbbdd3ad.tar.xz
emacsconf-ansible-2d391af591700ae52b4f2630454eb31dcbbdd3ad.zip
Make publishing work again
Diffstat (limited to '')
-rw-r--r--wiki-edit/tasks/main.yaml4
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))'