fix: dead links on docs.revert.dev (#466) #41
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: Generate docs & postman collection | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- fern/** | |
jobs: | |
deploy-fern-external: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 17 | |
- name: Install Fern | |
run: npm install -g fern-api | |
- name: Install Dependencies | |
run: yarn install | |
- name: Generate Production Docs | |
env: | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
run: fern generate --docs --instance revert.docs.buildwithfern.com --log-level debug | |
- name: Generate sdks | |
run: fern generate --group external | |
env: | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} |