Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix gh workflow for fern docs #356

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/deploy-fern-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ jobs:
- name: Install Dependencies
run: yarn install

- name: Generate postman collection
run: fern generate --group external
env:
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
POSTMAN_WORKSPACE_ID: ${{ secrets.POSTMAN_WORKSPACE_ID }}
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
- name: Generate Production Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs --instance revert.docs.buildwithfern.com --log-level debug
# FIXME: Postman collection generation hangs in gh action.
# - name: Generate postman collection
# run: fern generate --group external
# env:
# POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
# POSTMAN_WORKSPACE_ID: ${{ secrets.POSTMAN_WORKSPACE_ID }}
# FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
4 changes: 0 additions & 4 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@ groups:
workspace-id: ${POSTMAN_WORKSPACE_ID}
github:
repository: revertinc/revert-postman
docs:
domain: revert.docs.buildwithfern.com
custom-domains:
- docs.revert.dev