Skip to content

Merge pull request #5 from OnedocLabs/ffo-48-include-documentation-fo… #8

Merge pull request #5 from OnedocLabs/ffo-48-include-documentation-fo…

Merge pull request #5 from OnedocLabs/ffo-48-include-documentation-fo… #8

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: Retrieve react-print docs and build docs.yml
run: sh fern/scripts/copy_react_print_docs.sh
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs