Skip to content

fix(docs): typos in mintlify.mdx, add link to security incident (#5203) #494

fix(docs): typos in mintlify.mdx, add link to security incident (#5203)

fix(docs): typos in mintlify.mdx, add link to security incident (#5203) #494

Workflow file for this run

name: publish-docs
on:
push:
paths:
- "fern/**"
- ".github/workflows/publish-docs.yml"
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: Checkout repo
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_PROJECT_API_KEY }}
run: |
pnpm --filter @fern-api/cli dist:cli:prod
cli_path="$(pwd)/packages/cli/cli/dist/prod/cli.cjs"
node $cli_path generate --docs --log-level debug --instance fern.docs.buildwithfern.com/learn
# - name: Install fern-dev CLI
# run: |
# npm config set //registry.npmjs.org/:_authToken ${{ secrets.YARN_NPM_AUTH_TOKEN }}
# npm install -g @fern-api/fern-api-dev --prefix=$HOME/.local
# - name: Publish Docs to dev
# env:
# FERN_TOKEN: ${{ secrets.FERN_ORG_TOKEN_DEV }}
# run: fern-dev generate --docs --log-level debug --instance fern.docs.dev.buildwithfern.com/learn