No luck with rebuilt script either
This commit is contained in:
parent
710ccf4574
commit
f044386d0f
2 changed files with 16 additions and 9 deletions
24
.github/workflows/github_action_build_docs.yml
vendored
24
.github/workflows/github_action_build_docs.yml
vendored
|
|
@ -21,25 +21,33 @@ jobs:
|
||||||
python-version: [3.7]
|
python-version: [3.7]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Install doc-building dependencies
|
||||||
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'}}
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "docbuilder@evennia.com"
|
|
||||||
git config --global user.name "Evennia docbuilder action"
|
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
cd docs/
|
||||||
|
make install
|
||||||
|
|
||||||
|
# full game dir needed for mv-local
|
||||||
|
- name: Set up evennia game dir
|
||||||
|
run: |
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install -r requirements_extra.txt
|
pip install -r requirements_extra.txt
|
||||||
cd ..
|
cd ..
|
||||||
evennia --init gamedir
|
evennia --init gamedir
|
||||||
cd gamedir
|
cd gamedir
|
||||||
evennia migrate
|
evennia migrate
|
||||||
cd ../evennia/docs/
|
|
||||||
make install
|
- name: Build and deploy docs (only from master/develop branch)
|
||||||
|
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'}}
|
||||||
|
run: |
|
||||||
|
git config --global user.email "docbuilder@evennia.com"
|
||||||
|
git config --global user.name "Evennia docbuilder action"
|
||||||
|
cd docs
|
||||||
make release
|
make release
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
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 ?=
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue