Separately fetch 0.9.5 branch in build

This commit is contained in:
Griatch 2022-01-26 19:39:05 +01:00
parent 147cb6bfd9
commit 977575db67
2 changed files with 10 additions and 2 deletions

View file

@ -21,9 +21,15 @@ jobs:
python-version: [3.7] python-version: [3.7]
steps: steps:
- uses: actions/checkout@v2 - name: Checkout develop branch
uses: actions/checkout@v2
with: 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 }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
@ -52,5 +58,6 @@ jobs:
git config --global user.email "docbuilder@evennia.com" git config --global user.email "docbuilder@evennia.com"
git config --global user.name "Evennia docbuilder action" git config --global user.name "Evennia docbuilder action"
git branch git branch
git checkout develop
cd docs cd docs
make release make release

View file

@ -3,6 +3,7 @@
SOURCEDIR = source SOURCEDIR = source
BUILDDIR = build BUILDDIR = build
AUTODOCDIR = $(SOURCEDIR)/api AUTODOCDIR = $(SOURCEDIR)/api
#
# You can set these variables from the command line, and also # You can set these variables from the command line, and also
# from the environment for the first two. # from the environment for the first two.
SPHINXOPTS ?= SPHINXOPTS ?=