(fix): ugprade fern (#78) #190
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: true | |
node-version: '18' | |
registry-url: https://npm.pkg.github.com/ | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.AUTH_TOKEN}} | |
- name: Download Fern | |
run: npm install -g fern-api | |
- name: Build Navigation | |
run: | | |
cd custom-implementation | |
yarn | |
yarn build | |
cd ../ | |
- name: Generate and Publish Docs | |
env: | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
run: fern generate --docs |