Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Add aa-sdk docs to fern"
description: "Checks out aa-sdk repository with sparse checkout and copies docs to fern/wallets"
description: "Checks out aa-sdk repository and copies docs to fern/wallets"

runs:
using: "composite"
Expand All @@ -9,9 +9,12 @@ runs:
with:
repository: alchemyplatform/aa-sdk
path: aa-sdk
sparse-checkout: |
docs/
sparse-checkout-cone-mode: true

- name: Handle include statements
shell: bash
run: |
cd aa-sdk
node docs/scripts/extract-include-statements.js

- name: Copy docs to workspace and insert into fern
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Add aa-sdk docs to fern
uses: ./.github/actions/sparse-checkout-docs
uses: ./.github/actions/insert-wallets-tab

- name: Set Build Comment to In Progress
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Add aa-sdk docs to fern
uses: ./.github/actions/sparse-checkout-docs
uses: ./.github/actions/insert-wallets-tab

- name: Publish Documentation
uses: ./.github/actions/publish-fern
Expand Down