diff --git a/.github/workflows/fern-docs-ci.yml b/.github/workflows/fern-docs-ci.yml index d1dba4a0..59172016 100644 --- a/.github/workflows/fern-docs-ci.yml +++ b/.github/workflows/fern-docs-ci.yml @@ -16,11 +16,14 @@ 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 @@ -28,7 +31,7 @@ permissions: jobs: fern-check: name: Fern Check - runs-on: ubuntu-latest + runs-on: linux-amd64-cpu8 timeout-minutes: 10 steps: - name: Checkout repository diff --git a/.github/workflows/fern-docs-preview-build.yml b/.github/workflows/fern-docs-preview-build.yml index 70f6b5a4..6092b12d 100644 --- a/.github/workflows/fern-docs-preview-build.yml +++ b/.github/workflows/fern-docs-preview-build.yml @@ -25,7 +25,9 @@ name: "Preview Fern Docs: Build" on: - pull_request: + push: + branches: + - "pull-request/[0-9]+" paths: - 'docs/**' - 'fern/**' @@ -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 diff --git a/.github/workflows/fern-docs-preview-comment.yml b/.github/workflows/fern-docs-preview-comment.yml index b4698c1b..16a62082 100644 --- a/.github/workflows/fern-docs-preview-comment.yml +++ b/.github/workflows/fern-docs-preview-comment.yml @@ -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 diff --git a/.github/workflows/publish-fern-docs.yml b/.github/workflows/publish-fern-docs.yml index 5c6b66b9..36743518 100644 --- a/.github/workflows/publish-fern-docs.yml +++ b/.github/workflows/publish-fern-docs.yml @@ -26,8 +26,6 @@ name: Publish Fern Docs on: push: - branches: - - main paths: - 'docs/**' - 'fern/**' @@ -44,7 +42,7 @@ concurrency: jobs: publish: - runs-on: ubuntu-latest + runs-on: linux-amd64-cpu8 steps: - name: Checkout repository uses: actions/checkout@v5