Skip to content

Commit 9a616ca

Browse files
Test para CI/CD de docs
1 parent 10f47aa commit 9a616ca

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
branches:
55
- production
66
- develop
7-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+
88
permissions:
99
contents: read
1010
pages: write
1111
id-token: write
12-
# Allow one concurrent deployment
12+
1313
concurrency:
1414
group: "pages"
1515
cancel-in-progress: true
@@ -33,12 +33,16 @@ jobs:
3333
uses: ammaraskar/sphinx-action@6.1.3
3434
with:
3535
docs-folder: "docs/"
36-
pre-build-command: "pip install -e ."
36+
pre-build-command: |
37+
pip install -r docs/requirements.txt
38+
pip install -e . --no-deps
39+
env:
40+
BUILDING_DOCS: "1" # mocks en conf.py
3741

3842
- name: Setup Pages
3943
uses: actions/configure-pages@v2
4044

41-
- name: Upload artifactfi
45+
- name: Upload artifact
4246
uses: actions/upload-pages-artifact@v3
4347
with:
4448
path: 'docs/build/html'

0 commit comments

Comments
 (0)