From 977575db67da8a09c84ecd5f7ff6bfcf58ca3a15 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 26 Jan 2022 19:39:05 +0100 Subject: [PATCH] Separately fetch 0.9.5 branch in build --- .github/workflows/github_action_build_docs.yml | 11 +++++++++-- docs/Makefile | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action_build_docs.yml b/.github/workflows/github_action_build_docs.yml index 1431dedb13..3d8ef25391 100644 --- a/.github/workflows/github_action_build_docs.yml +++ b/.github/workflows/github_action_build_docs.yml @@ -21,9 +21,15 @@ jobs: python-version: [3.7] steps: - - uses: actions/checkout@v2 + - name: Checkout develop branch + uses: actions/checkout@v2 with: - fetch-depth: 0 + path: develop + + - name: Checkout 0.9.5 branch + uses: actions/checkout@v2 + with: + path: v0.9.5 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 @@ -52,5 +58,6 @@ jobs: git config --global user.email "docbuilder@evennia.com" git config --global user.name "Evennia docbuilder action" git branch + git checkout develop cd docs make release diff --git a/docs/Makefile b/docs/Makefile index 748dd61c9e..eed5098f2f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,6 +3,7 @@ SOURCEDIR = source BUILDDIR = build AUTODOCDIR = $(SOURCEDIR)/api +# # You can set these variables from the command line, and also # from the environment for the first two. SPHINXOPTS ?=