Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Setup Go generator for monorepo (#2943) #1

Setup Go generator for monorepo (#2943)

Setup Go generator for monorepo (#2943) #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: Install Fern
run: npm install -g fern-api
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs --log-level debug