Skip to content

Commit

Permalink
Update preview workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
honno committed Nov 14, 2022
1 parent 859bf38 commit 18fd07c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
name: build docs
no_output_timeout: 25m
command: |
pip install -r requirements.txt
sphinx-build -b html -WT --keep-going spec build/draft -d doctrees
pip install .[doc]
make -C spec/ build
- store_artifacts:
path: build/draft
path: spec/_build/

workflows:
version: 2
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,6 @@ jobs:
export SPHINXOPTS="-b html -WT --keep-going -d doctrees"
make -C spec/ build
# Upload the build artifact:
- name: 'Upload build artifact'
uses: actions/upload-artifact@v2
if: ${{ github.event_name == 'pull_request'}}
with:
name: html
path: build/
if-no-files-found: error

# Configure Git:
- name: 'Configure Git'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/build/draft/index.html
artifact-path: 0/spec/_build/draft/index.html
circleci-jobs: build_page
job-title: Check the rendered docs here!

0 comments on commit 18fd07c

Please sign in to comment.