From d0e511160a59be83cd19880328c7d724c6f64f30 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 30 Aug 2022 05:06:36 -0400 Subject: [PATCH] Use consistent branch for matplotlib.github.com The webhook uses `main`, but the playbook always used `gh-pages`. This caused things to be out of sync when the playbook was run for the `mpl-sphinx-theme` addition. --- matplotlib.org.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/matplotlib.org.yml b/matplotlib.org.yml index 86b10d5..c2b28b5 100644 --- a/matplotlib.org.yml +++ b/matplotlib.org.yml @@ -164,7 +164,10 @@ ansible.builtin.git: repo: "https://github.com/matplotlib/{{ item }}" dest: "/usr/share/caddy/{{ item }}" - version: gh-pages + version: >- + {{ + (item == 'matplotlib.github.com') | ternary('main', 'gh-pages') + }} loop: "{{ repos }}" # Caddy server setup