From 2e7e6d3d067e1dc0861419cea688218cbab6c46e Mon Sep 17 00:00:00 2001 From: Michael Goerz Date: Thu, 20 Apr 2023 00:38:11 -0400 Subject: [PATCH] Enable deployment of rtd-theme on gh-pages --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7c4fba0..eb4d8b5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -57,7 +57,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy documentation to gh-pages - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') + if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rtd-theme' || startsWith(github.ref, 'refs/tags/') shell: bash run: | set -x @@ -92,7 +92,7 @@ jobs: env: DOCS_VERSIONS_MENU_DEBUG: 'true' DOCS_VERSIONS_MENU_VERSIONS: '( != (master, rtd-theme)), ()[:-1], rtd-theme, ()[-1], master' - DOCS_VERSIONS_MENU_LABEL: 'rtd-theme: v0.4.1 (rtd-theme)' + DOCS_VERSIONS_MENU_LABEL: 'rtd-theme: v0.5.2 (rtd-theme)' DOCS_VERSIONS_MENU_WARNING: 'unreleased: ( != rtd-theme), ' GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}