Skip to content
Merged
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
7 changes: 5 additions & 2 deletions .github/workflows/fern-docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@
name: Fern Docs CI

on:
pull_request:
push:
paths:
- 'docs/**'
- 'fern/**'
- '.github/workflows/fern-docs-ci.yml'
branches:
- "pull-request/[0-9]+"
workflow_dispatch:

permissions:
contents: read

jobs:
fern-check:
name: Fern Check
runs-on: ubuntu-latest
runs-on: linux-amd64-cpu8
timeout-minutes: 10
steps:
- name: Checkout repository
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/fern-docs-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
name: "Preview Fern Docs: Build"

on:
pull_request:
push:
branches:
- "pull-request/[0-9]+"
paths:
- 'docs/**'
- 'fern/**'
Expand All @@ -36,7 +38,7 @@ permissions:

jobs:
collect:
runs-on: ubuntu-latest
runs-on: linux-amd64-cpu8
steps:
- name: Checkout PR
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fern-docs-preview-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ permissions:

jobs:
preview:
runs-on: ubuntu-latest
runs-on: linux-amd64-cpu8
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download fern sources and metadata
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-fern-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ name: Publish Fern Docs

on:
push:
branches:
- main
paths:
- 'docs/**'
- 'fern/**'
Expand All @@ -44,7 +42,7 @@ concurrency:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: linux-amd64-cpu8
steps:
- name: Checkout repository
uses: actions/checkout@v5
Expand Down