Skip to content

Commit

Permalink
Upload docs preview (pytorch#2426)
Browse files Browse the repository at this point in the history
Add step to upload docs preview in manager

preview at: https://docs-preview.pytorch.org/pytorch/tutorials/2426/index.html
  • Loading branch information
clee2000 authored Jun 5, 2023
1 parent 47b9ea4 commit 121f71a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ jobs:
docker exec -t "${container_name}" sh -c ".jenkins/build.sh"
- name: Upload docs preview
uses: seemethere/upload-artifact-s3@v5
if: ${{ github.event_name == 'pull_request' }}
with:
retention-days: 14
s3-bucket: doc-previews
if-no-files-found: error
path: docs
s3-prefix: pytorch/tutorials/${{ github.event.pull_request.number }}

- name: Teardown Linux
uses: pytorch/test-infra/.github/actions/teardown-linux@main
if: always()

0 comments on commit 121f71a

Please sign in to comment.