Skip to content

Merge pull request #1 from cohere-ai/fern/move #1

Merge pull request #1 from cohere-ai/fern/move

Merge pull request #1 from cohere-ai/fern/move #1

Workflow file for this run

name: publish-docs
on:
push:
paths:
- "fern/**"
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'refs/heads/main')
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Dependencies
shell: bash
run: pnpm install
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: pnpm run docs:publish