mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 09:07:18 +01:00
documentation action
This commit is contained in:
parent
c9ce69c1c1
commit
aa1fb63714
1 changed files with 6 additions and 9 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -7,11 +7,10 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install python version
|
- name: Set up Python
|
||||||
uses: gabrielfalcao/pyenv-action@v7
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
default: "3.6.8"
|
python-version: 3.8
|
||||||
command: "pip install -U pip"
|
|
||||||
- name: Get pip cache dir
|
- name: Get pip cache dir
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -21,11 +20,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-pip3.6.8}
|
key: ${{ runner.os }}-pip3.6.8}
|
||||||
- name: dependencies
|
- name: Install dependencies
|
||||||
# instead of directly installing the dependency in the workflow file, can this be done using the pipfile instead?
|
run: pipenv install --system --dev --ignore-pipfile
|
||||||
run: |
|
- name: Make documentation
|
||||||
pip install 'sphinx~=3.3' sphinx_rtd_theme
|
|
||||||
- name: make
|
|
||||||
run: |
|
run: |
|
||||||
cd docs/
|
cd docs/
|
||||||
make html
|
make html
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue