From 077112b718eb29aecf331b1e703e7e90d8538e6c Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 13 Sep 2023 08:58:06 -0400 Subject: add some more scripts, change 2022 to emacsconf_year --- roles/publish/tasks/main.yml | 4 ++-- roles/publish/templates/emacsconf-config.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/publish') diff --git a/roles/publish/tasks/main.yml b/roles/publish/tasks/main.yml index 064f40f..fed1847 100644 --- a/roles/publish/tasks/main.yml +++ b/roles/publish/tasks/main.yml @@ -92,9 +92,9 @@ - not 'Local modifications exist in repository' in elisp.msg - not 'Failed to checkout branch' in elisp.msg debugger: on_failed - - name: Check out emacsconf-2022-private + - name: Check out emacsconf-{{ emacsconf_year }}-private ansible.builtin.git: - repo: git@git.emacsconf.org:emacsconf-2022-private + repo: "git@git.emacsconf.org:emacsconf-{{ emacsconf_year }}-private" dest: "{{ emacsconf_private_dir }}" register: private failed_when: diff --git a/roles/publish/templates/emacsconf-config.el b/roles/publish/templates/emacsconf-config.el index 366255c..9acad16 100644 --- a/roles/publish/templates/emacsconf-config.el +++ b/roles/publish/templates/emacsconf-config.el @@ -18,7 +18,7 @@ (setq emacsconf-publishing-phase '{{ emacsconf_publishing_phase }}) (setq emacsconf-backstage-password "{{ emacsconf_backstage_password }}") -(setq emacsconf-backstage-dir "/ssh:orga@media.emacsconf.org:/var/www/media.emacsconf.org/2022/backstage") +(setq emacsconf-backstage-dir "/ssh:orga@media.emacsconf.org:/var/www/media.emacsconf.org/{{ emacsconf_year }}/backstage") (setq emacsconf-upload-dir "/ssh:orga@media.emacsconf.org:/srv/upload") {% if ansible_host == "res.emacsconf.org" %} -- cgit v1.2.3