Skip to content

feat: announcement bar (#110) #340

feat: announcement bar (#110)

feat: announcement bar (#110) #340

Workflow file for this run

name: Publish Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/main') && github.run_number > 1 }}
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 --instance octoai.docs.buildwithfern.com/fern-docs
fern generate --docs --instance octoai-prod.docs.buildwithfern.com/fern-docs