diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:06 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:24 -0400 |
commit | 077112b718eb29aecf331b1e703e7e90d8538e6c (patch) | |
tree | 5eab58517501dce8c79101bb7740c5000c506511 /roles/publish | |
parent | 366d6aec267f543f9a7b928778a09b80852346f3 (diff) | |
download | emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.tar.xz emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.zip |
add some more scripts, change 2022 to emacsconf_year
Diffstat (limited to 'roles/publish')
-rw-r--r-- | roles/publish/tasks/main.yml | 4 | ||||
-rw-r--r-- | roles/publish/templates/emacsconf-config.el | 2 |
2 files changed, 3 insertions, 3 deletions
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" %} |