Skip to content

ci: replace thollander/actions-comment-pull-request with inline gh ap… #119

ci: replace thollander/actions-comment-pull-request with inline gh ap…

ci: replace thollander/actions-comment-pull-request with inline gh ap… #119

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') && github.run_number > 1 }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "24"
- name: Setup Fern CLI
uses: fern-api/setup-fern-cli@v1
- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs --log-level debug