Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/copy-pr-bot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/#configuration

enabled: true
27 changes: 27 additions & 0 deletions .github/workflows/fern-docs-preview-copy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Preview Fern Docs

on:
push:
branches:
- 'pull-request/[0-9]+'
paths:
- 'fern/**'

concurrency:
group: fern-docs-preview-copy-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
preview:
permissions:
contents: read
id-token: write
pull-requests: write
uses: NVIDIA/docs-builder/.github/workflows/_fern_docs_preview_copy.yml@main # zizmor: ignore[unpinned-uses] -- Fern OIDC trust pins refs/heads/main
with:
fern-directory: fern
secrets:
DOCS_FERN_AWS_ROLE_TO_ASSUME: ${{ secrets.DOCS_FERN_AWS_ROLE_TO_ASSUME }}
DOCS_FERN_SECRET_ID: ${{ secrets.DOCS_FERN_SECRET_ID }}
21 changes: 21 additions & 0 deletions .github/workflows/fern-docs-preview-delete-copy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Preview Fern Docs: Delete"

on: # zizmor: ignore[dangerous-triggers] -- no PR code is checked out or run
pull_request_target:
types: [closed]
paths:
- 'fern/**'

permissions: {}

jobs:
delete:
permissions:
contents: read
id-token: write
uses: NVIDIA/docs-builder/.github/workflows/_fern_docs_preview_delete_copy.yml@main # zizmor: ignore[unpinned-uses] -- Fern OIDC trust pins refs/heads/main
with:
fern-directory: fern
secrets:
DOCS_FERN_AWS_ROLE_TO_ASSUME: ${{ secrets.DOCS_FERN_AWS_ROLE_TO_ASSUME }}
DOCS_FERN_SECRET_ID: ${{ secrets.DOCS_FERN_SECRET_ID }}
Loading