Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/fern-docs-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@

# Workflow 1 of 2 for Fern doc previews.
#
# Collects the fern/ sources and PR metadata from the PR branch and uploads
# them as an artifact. No secrets are used here.
# Collects the fern/ and docs/ sources plus PR metadata from the PR branch and
# uploads them as an artifact. Both directories are needed because
# fern/docs.yml references ../docs/index.yml; omitting docs/ causes
# `fern generate --docs` to fail in the companion workflow. No secrets are
# used here.
#
# Triggers on push to pull-request/<n> branches (NVIDIA copy-PR-bot pattern).
# On push events github.head_ref and github.event.pull_request.number are
Expand Down Expand Up @@ -63,5 +66,6 @@ jobs:
name: fern-preview
path: |
fern/
docs/
preview-metadata/
retention-days: 1
Loading