Skip to content

Commit 18fd07c

Browse files
committed
Update preview workflow
1 parent 859bf38 commit 18fd07c

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
name: build docs
2020
no_output_timeout: 25m
2121
command: |
22-
pip install -r requirements.txt
23-
sphinx-build -b html -WT --keep-going spec build/draft -d doctrees
22+
pip install .[doc]
23+
make -C spec/ build
2424
- store_artifacts:
25-
path: build/draft
25+
path: spec/_build/
2626

2727
workflows:
2828
version: 2

.github/workflows/pages.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ jobs:
8585
export SPHINXOPTS="-b html -WT --keep-going -d doctrees"
8686
make -C spec/ build
8787
88-
# Upload the build artifact:
89-
- name: 'Upload build artifact'
90-
uses: actions/upload-artifact@v2
91-
if: ${{ github.event_name == 'pull_request'}}
92-
with:
93-
name: html
94-
path: build/
95-
if-no-files-found: error
96-
9788
# Configure Git:
9889
- name: 'Configure Git'
9990
run: |

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
uses: larsoner/circleci-artifacts-redirector-action@master
1212
with:
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}
14-
artifact-path: 0/build/draft/index.html
14+
artifact-path: 0/spec/_build/draft/index.html
1515
circleci-jobs: build_page
1616
job-title: Check the rendered docs here!

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy