Skip to content

Update docs.yml (#1) #2

Update docs.yml (#1)

Update docs.yml (#1) #2

Workflow file for this run

name: publish-docs
on:
push:
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: Build custom-components
run: |
cd custom-components
yarn install
yarn build
cd ..
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs